DHTMLXGrid with subgrid

HI,

Is it possible to use JSON or javaScript Array to populate the data in the Grid with subgrid?
In this example (dhtmlx.com/docs/products/dht … grids.html) they have demonstrated using .XML file. My requirement is to use JSON or js Array. If anyone has an example would be much appreciated.

Cheers.

Grid provide the onSubGridCreated event, you can catch it, and execute any custom configuration and data loading code against the sub-grid.