I am having some problems importing data with grid and need your kind help.
The problem is:
Currently I use @Input() gridVariables: String;
To import data used in the Grid.
But based on my limited Angular knowledge, gridVariables can be used in the corresponding HTML file.
But I looked it up the grid-related sample code does not see how to import Grid data in a similar way in an HTML file.
What seeing is basically importing data using a DataAdapter in .ts file.
Are there any relevant examples or documents to refer to for this problem?
In order to data bind the Grid, you will need to set its dataSource property and set it to a DataAdapter or Array.
If you want to display a Grid from HTML Table, you can alternative use our Table component for Angular.
Smart UI Team https://www.htmlelements.com/
Please allow me to confirm:
Following your advice, I looked up some examples of smart-Table.
So what you’re saying is that users using smart-Grid components cannot currently add titles, data, etc. by editing.HTML files. Is it Right?
Similar to the function of smart-table, in the.html file, by editing <table>, <thead>, <tbody> and so on can add titles and data for smart-table, this function is not supported in the smart-grid component. May I ask if my understanding is correct?
Thank you very much for your timely reply.