I need to generate the html to create a data grid at runtime.
In all examples I saw an external .js file containing a window.Smart instruction to configure the grid.
I can’t use external .js files and then I need to put everything in the html file.
Can I put all informations as attributes/childs of the <smart-grid> tag ?
Any other suggestion ?
Unfortunately this is not recommended for all the properties of the Smart.Grid component.
However if we know a bit more about your use case we can give you another solution which could suit your needs.
If it works for you you can use the ‘script’ tag in the html file you need and set all the properties for the Smart.Grid in it.
Please, do not hesitate to contact us if you have any additional questions.