@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterHi 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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi 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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi 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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
Unfortunately, with the provided information we are unable to replicate that behavior. We will further investigate with different versions of firefox and apache.
Regards,
Peteradmin
KeymasterHi,
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
Peteradmin
KeymasterHi,
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
Peteradmin
KeymasterHi 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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi Joko,
The router does not still support this functionality. We will consider implementing it.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/December 14, 2021 at 8:27 am in reply to: Docking layout – best way to remove esc keydownevent listeners #102652admin
KeymasterHi 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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi 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 StoevSmart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
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 StoevSmart UI Team
https://www.htmlelements.com/November 22, 2021 at 6:12 pm in reply to: Insert, Update, Remove methods doesn’t work (Blazor) #102584admin
KeymasterHi,
We will have a new Blazor release by the end of the month.
Best regards,
Peter StoevSmart UI Team
https://www.htmlelements.com/ -
AuthorPosts