@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
admin
KeymasterHi Markus,
The example you are pointing out is built with Smart.Form component. If you need to achieve the same, why do not you use the Smart.Form which has this option built-in? The example is included in the download package.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
I also forgot to mention this https://www.htmlelements.com/docs/download-and-installation/.
Hope this helps.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi AURAGARD,
This will go into a patch release, when it comes out. As a workaround for now, you can use a “label” tag before the component.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
The “modules” folder contains the javascript files used in most of the Javascript examples. Each module imports one or more javascript files from the “source” folder. For example, the modules/smart.button imports the smart.element.js and smart.button.js from the “source” folder. You can see that in our Docs we refer to the “modules” – https://www.htmlelements.com/docs/button/.
The “components” folder contains the web components with shadow dom and the css styles imported in them. You may read more: https://www.htmlelements.com/docs/shadow-dom/. We use these in all examples about Shadow DOM, which are available in the demos section.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Nikhil Jain,
Could you post an example how you exactly try to bind the data grid? I just want to check whether the upcoming release which is now in a test phase covers your scenario.
Looking forward to your reply.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi LC,
The selection with sorting behavior is the same as in the most datagrids available and is always by the Row ID. The ‘select’ method accepts a row id as an argument.
To select a row by its index, you can use this: grid.rows[0].selected = true; to select a first row.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi LC,
The selection is by row, not by index. When you select a row and change the sort order, the row stays selected even if it is not in the same position in the data grid. For example, select the row with first name = “Andrew”. Now change the sort order. The row remains selected after changing the sort order.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi LC,
1. We were unable to reproduce the ‘jumping cursor’. We will need a codepen or stackblitz example to see the behavior.
2. Regarding the second issue with the sorting being not applied after adding a new row. We were able to reproduce this. You can call ‘refreshSort’ after adding a new datagrid row. This can be used as a workaround.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi AURAGARD,
Thank you for the feedback. We will fix this in the next release. As a temporary workaround, you can add a label tag before the smart-password-text-box html tag.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterIt is not possible to drag a minimized window by design.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
As far as I see, you have Javascript code in your example which does that. The way you do it seems to be OK.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
No, this is mot possible in this version of the gantt chart. We will consider adding such functionality in the next version.
Regards,
Boyko
Smart UI
Htmlelements.comadmin
KeymasterHi Nikhil Jain,
TreeGrid virtualization is about loading on demand of new data when a row is expanded. That is the Virtualization UI Design for Tree-like data structures. Virtual scrolling in Tree-mode is something which is not possible for such type of data structure and so it cannot be implemented even if we want to.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi Nikhil Jain,
We will consider. We suggest you to use the ‘change’ event which is the special event for selection.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/admin
KeymasterHi,
You can access the datasource members by index and there is also a length property i.e quite easy an artay can be retrieved by just looping through the datasource with for i = 0 to datasource.length.
Regards,
Peter -
AuthorPosts