How to dynamically load kid file in JSON format?

In the documentation for TreeGrid, I only found examples with kidsXmlFile() method. Is there a possible way by which I can load a Kid-Json-File through dynamic loading ?

You on catch data loading by using onDynXLS event

grid.attachEvent("onDynXLS", function(id){ grid.load("some.php?id="+id, "json"); return false; })

You just need to to define the url to a needed json file:
mygrid.kidsXmlFile = “child.json”;

Also “dhtmlxgrid_json.js” extension should be added.
Please, refer to the attached html, parent JSON, kids JSON. (1.27 KB)