dhtmlXTree: Get child nodes from server through AJAX call

Hi,



Is it possible to retrieve the child nodes of the dhtmlXTree node when its is expanded (clicking on + image) through AJAX call?



Basically we have a huge amount of data to be displayed on server and for that retrieving whole data at one shot and rendering it as tree is not a solution as on the selection of any node considerable amount of data will be displayed on a content panel on the right side of the tree.



To achieve this we are thinking of fetching only 1st level of tree items on page load and depending upon the user’s selection of the node, corresponding child nodes will be fetched from the server using AJAX and also the data to be displayed on the right side of the tree.



Is this possible using dhtmlXTree? If so please let me know how this can be done. Any help on this will greatly be appreciated.



Cheers !!!

- Jay

to retrieve the child nodes of the dhtmlXTree node when its is expanded
Dynamical loading -
    dhtmlx.com/docs/products/dht … ml#dyntree

The default package contain samples for PHP, please inform if you need a sample for some different language.