@boikom

@boikom

Forum Replies Created

Viewing 15 posts - 286 through 300 (of 923 total)
  • Author
    Posts
  • in reply to: change event #102706
    admin
    Keymaster

    Hi Joko,

    If you set the value programmatically then you will probably know when in your code you set it. Each value change results in ‘change’ event trigger. We do not have API which tells whether the value is set by programmatic setting. That can be achieved in your code where you set the Slider’s value. I would suggest you to use a boolean variable to add such logic.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: iterate through treeitems #102705
    admin
    Keymaster

    Hi,

    By using const tree = document.querySelector(“smart-tree”) you can get the Tree’s HTML Element instance. Then you get all tree items or tree item groups, you can use tree.querySelectorAll(“smart-tree-item”); or tree.querySelectorAll(“smart-tree-items-group”); You can also query select by ID or CSS class if you set such to your tree items or groups. By having the HTML Elements stored in a variable, you can then use Smart.Tree’s API to add or remove items. I would like to suggest you to look at https://www.htmlelements.com/demos/tree/context-menu/. This example shows how to add or remove tree items dynamically depending on user selection through a context menu.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: DropDownList in Form not submitted? #102704
    admin
    Keymaster

    Hi Giovanni,

    Could you please provide a full example which shows your use case? I would like to suggest you to look at the Form Events online example, too. You can use Form Properties and/or Events to get the Form’s value, if you use Smart.Form. For example: https://www.htmlelements.com/demos/form/events/. The example shows how to get the value of a form dynamically.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: Override header height #102703
    admin
    Keymaster

    Hi Joko,

    The sample code below shows how to set the columns height and rows height in our Datagrid component. Note that the minimum row height is 30px.

    smart-grid {
        width: 100%;
        width: 100%;
        height: 600px;
        --smart-grid-column-header-height: 30px;
        --smart-grid-row-height: 30px;
    }

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: sample not work on firefox #102695
    admin
    Keymaster

    Hi,

    Unfortunately, with the provided information we are unable to replicate that behavior. We will further investigate with different versions of firefox and apache.

    Regards,
    Peter

    in reply to: Smart.Grid Export to Pdf/Excel #102692
    admin
    Keymaster

    Hi,

    We export the cell values i.e the data. We do not export templates as a template could be any html element or a combination of different types of content.

    Regards
    Peter

    in reply to: sample not work on firefox #102691
    admin
    Keymaster

    Hi,

    The demos should be run on a web server or localhost as es6 modules cannot run by just double clicking on index.htm. They work in all browsers except internet explorer

    Regards
    Peter

    in reply to: onRowUpdate #102681
    admin
    Keymaster

    Hi Christophe,

    The last param – 5th is a callback function. If you name it “confirm”, then you can use confirm(true) to commit the changes or commit(false) to cancel the changes.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: onRowUpdate #102674
    admin
    Keymaster

    Hi,

    onRowUpdate has more parameters. The new values object are the 4th param. In addition, the last param should be added, too as it is the confirm callback which should be called to finish the editing process and confirm it.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: Update Form item value created using JSON #102673
    admin
    Keymaster

    Hi,

    This example shows how to set Form’s value: https://www.htmlelements.com/demos/form/template/. The ‘value’ property and setValue method expect a JSON object which matches the form’s structure. The patchValue method can be used for updating an individual component of a form. In the provided code, the ‘group’ control should have a dataField property set, too.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: Smart.Route Paramter #102666
    admin
    Keymaster

    Hi Joko,

    The router does not still support this functionality. We will consider implementing it.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    admin
    Keymaster

    Hi Br Brayan,

    Thanks for writing.

    There is currently no such available option for the Docking Layout. Specific Keyboard keys as well as Pointer events are handled by the Docking Layout component. We can extend it with the required functionality in a future version. We can also develop features on demand for tailor made solutions. If you are interested in such an option, please contact sales@jqwidgets.com

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: js-problems with dropdownlist in form #102622
    admin
    Keymaster

    Hi Giovanni,

    Could you please, provide a codepen or stackblitz sample which demonstrates the issue which you tried to describe? We could not much understand from the description what the problem basically is. Please, make sure that the latest version is used.

    Thanks in advance.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: OnFilter Event (Blazor) #102620
    admin
    Keymaster

    Hi,

    Actually, the docs were updated yesterday with 11.0 release, but these strings are not added to the API and we will add it. However, we have a help topic about filtering and you can find it here: https://www.htmlelements.com/docs/grid-filtering-sorting/

    Best Regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

    in reply to: Insert, Update, Remove methods doesn’t work (Blazor) #102584
    admin
    Keymaster

    Hi,

    We will have a new Blazor release by the end of the month.

    Best regards,
    Peter Stoev

    Smart UI Team
    https://www.htmlelements.com/

Viewing 15 posts - 286 through 300 (of 923 total)