@boikom

@boikom

Forum Replies Created

Viewing 15 posts - 676 through 690 (of 918 total)
  • Author
    Posts
  • in reply to: Refresh method #100758
    admin
    Keymaster

    Hi Fabio,
    Thank you for the feedback. We were able to see the reported behavior in Firefox and will resolve it for the next release. It is scheduled for this week.
    Best Regards,
    Peter
    Smart HTML Elements Team
    https://www.htmlelements.com

    in reply to: Refresh method #100757
    admin
    Keymaster

    Hi Cristofer,
    I have uploaded an example on CodeOpen and the refresh with Chrome is ok but with Firefox is doesn’t.
    Can you help me?
    Link is: https://codepen.io/fabionicc/pen/vYNzKaL
    Best regards.
    Fabio

    in reply to: Refresh method #100756
    admin
    Keymaster

    Hi Fabio,
    I think the error is in this: timeStampGrid.columns = columns;
    Best Regards,
    Peter
    Smart HTML Elements Team
    https://www.htmlelements.com

    in reply to: Refresh method #100755
    admin
    Keymaster

    Hi Christopher,
    you can investigate at link
    http://sviluppo.vgnetdev.pro/tabelle/timestamp/timestampLista.php
    Best regards,
    Fabio

    in reply to: Problem with RowMenuCommand #100738
    admin
    Keymaster

    Hi astelcom,
    The Grid has cellClick and rowClick events. You can use them to handle clicks and custom logic.
    Best Regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    in reply to: Problem with RowMenuCommand #100735
    admin
    Keymaster

    Hi astelcom,
    Thank you for the feedback.
    I confirm the reported DataGrid behavior. We will fix it for the next release which will be in the second half of this month.
    Best Regards,
    Peter Stoev
    Smart UI Team
    https://www.htmlelements.com/

    in reply to: scroll to newly selected item #100732
    admin
    Keymaster

    Hi,
    You should use the “value” not the “label” of the Item.
    Example:

    function selectToyota() {
    list.ensureVisible("toyota");
    }

    Regards,
    Peter

    in reply to: grid and data adapter #100729
    admin
    Keymaster

    Hello Martin,
    I think that the problem is binding the data source because the grid is empty.
    Best regard.

    in reply to: Auto height not working? #100717
    admin
    Keymaster

    Hi Aks26,
    Please, provide an example which reproduces the behavior which you report. The problem could be in the Gantt, but also could be caused by something else. We cannot tell from the information, which we have.
    Regards,
    Peter
    Smart UI Team
    https://www.htmlelements.com/

    in reply to: Auto height not working? #100716
    admin
    Keymaster

    Hi, replying after quite a while because I thought I had fixed it. But as I said, the auto-height function seems to be a bit buggy. Also, I am using the latest Smart UI version. What happens is sometimes the chart displays as I want it to, some other times it is collapsed and scrollbars show up.
    If anything, prolonged click on the reload button and selecting the ‘Empty cache and hard reload’ option fixes this consistently. So can you help me out? Even if the chart itself is buggy, can you perhaps give me a solution in angular regarding how I can bypass this? Basically, I want the whole thing to show up in full rather than with scrollbars….which seems to happen only if the cache is cleared. Thanks.
     

    in reply to: basic usage #100713
    admin
    Keymaster

    We support Shadow DOM. Smart is one of the first Web Components libraries and can be used for building Web Components.
    To use Smart with LitElement, you can use this approach:
    import { LitElement, html, css } from ‘lit-element’;
    Smart.EnableShadowDOM = true;
    export class SuperElement extends LitElement {
    static get styles() {
    return css`
    `;
    }
    render() {
    return html`
    <link rel="stylesheet" type="text/css" href="https://htmlelements.com/demos/source/styles/smart.default.css"&gt;
    <smart-button>Click me</smart-button>
    `;
    }
    }
    customElements.define(‘super-element’, SuperElement);
    Regards,
    Boyko

    in reply to: basic usage #100712
    admin
    Keymaster

    IO am not having any luck getting the smart-button in shadowDom picking up shared styles using the method described here:
    https://lit-element.polymer-project.org/guide/styles#sharing-styles
    What is the ‘smart’ preferred method? or are they not intended to be used in shadowDom?

    in reply to: basic usage #100711
    admin
    Keymaster

    Well it looks like I have a long day ahead of me.  I am following the instructions from lit-element on sharing styles but so far no joy.
    https://lit-element.polymer-project.org/guide/styles#sharing-styles
    Thanks for getting me facing in the right direction.

    in reply to: basic usage #100710
    admin
    Keymaster

    Aha! Yes thank you that sounds very likely.
     
     
     
     

    in reply to: basic usage #100709
    admin
    Keymaster

    Hi,
    These files are included in the button module.
    smart.button.js in modules is a bundle of the necessary files, one of which is smart.element.js. You may look at the online samples, too.
    As far as I see you’re using it with Lit Element which creates a Shadow DOM, then you should add the smart.default.css within that Shadow DOM. Otherwise, as the shadow dom is isolated, that will not allow the outside CSS to style elements in the shadow dom.
    Regards,
    Boyko

Viewing 15 posts - 676 through 690 (of 918 total)