Autoloading from XML
Advanced processing of XML allows this JavaScript tree menu to handle large amount of data. Dynamical items loading from XML stream enables you to create DHTML trees with unlimited number of nodes. You can load data asynchronously in dhtmlxTree as-needed (using AJAX) that increases overall performance of the tree. It means that the script specified in setXMLAutoLoading() method will be called when you click the tree to expand any of the parent nodes (which child nodes were not loaded). The script will get the id of the node to open, and return the XML with description of the child items.