Hi,
is there a way to initialize a treeGrid (not only a grid) with JSON data?
If yes, can you provide an example for the JSON structure please?
thank you
Default code doesn’t provide such functionality.
You can use attached extension, it extends json support and allows loading of treegrid from json.
dhtmlxgrid_json.zip (1.01 KB)
data.json (891 Bytes)
Thanks you for the extension.
Could you please provide a little example for what the JSON data should look like?
please apologize, I did not see that json data was attached as well.
thank you
little example for what the JSON data should look like
The data format is the same as for plain grid, except of - each row object can have rows collection , which may contain child rows