Load Json to existing node

Hi,

I have a dhtmlxTree already loaded (using dynamic loading with ‘setXMLAutoLoading’).
But at some point I would like to load a whole part of the tree using somthing like : myTree.load(json); (but into a specific node, i dont want to reload the whole tree).

Something like: myTree.load(itemId,json);

** I’m usin v403 pro. So there is no function: load(); only: loadJSON();

Thanks.

Hi,

the server-side that you are using needs generate json with a correct “id” property (same as for xml dynamic loading):

tree.load(“json.php?id=id2”,“json”);

The example of json:

{id:'id2', item:[ {id:'id2-1', text:'level 1-0-0-0' }, ... ]}