Dynamical loading means loading levels on request (on opening a node that has children). To make it work in dhtmlxTreeGrid, the user should do the following:
treegrid.kidsXmlFile="pro_treeGrid_dynamic.php";
This routine will get URL parameter id that is id of the row that was opened (in other words - id of the row that is parent to the level that should be returned by the above mentioned routine).
<row xmlkids="1"> <cell>...</cell> ...
JSON format:
{ rows:[ {id:'1',xmlkids:'1', data:["row A"]} ] };
<rows parent='123'> <row xmlkids="1"> <cell>... ...