@boikom
@boikom
Forum Replies Created
-
AuthorPosts
-
adminKeymaster
Hi byandex,
We will need a complete example set up that shows the reported behavior.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi Walter,
In order to change the datasource of the Grid, you need to set the dataSource property. To update the dataSource, set the property to a new value.
Example: https://www.htmlelements.com/demos/grid/datagrid-update-data/
Best Regards,
Peter Stoev
https://www.htmlelements.com/
Smart UI TeamJanuary 20, 2021 at 6:45 am in reply to: Can i use smart UI without using single file components? #101339adminKeymasterHi,
In order to use Smart.Grid with Vue, please refer to https://www.htmlelements.com/docs/grid/#vue
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/January 20, 2021 at 6:44 am in reply to: Warnings on including smart css to angular project. How to resolve this ? #101338adminKeymasterHi Mike,
The posted warnings do not come from our tools and modules. They seem to be related to something else in your app.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi Nikhil Jain,
jqxGrid like mapping is now supported in the latest version. If you wish, you can try it.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi davout,
In Angular you cannot put template html tag within angular view due to the reason that Angular Views use HTMLTemplate. It is not necessary to try to use template tag for window footer. You can define a footer within the window’s content.
Best regards,
Peter Stoev
Smart UI Team
https://www.htmlelements.com/adminKeymasterHi 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/adminKeymasterHi,
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/adminKeymasterHi 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/adminKeymasterHi,
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/adminKeymasterHi 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/adminKeymasterHi 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/adminKeymasterHi 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/adminKeymasterHi 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/adminKeymasterHi 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/ -
AuthorPosts