Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted on Mar 07, 2007 11:27
open dhtmlx forum
I have a tree with about 50,000 nodes and would like to use AJAX process to load the data. What would ...

I have a tree with about 50,000 nodes and would like to use AJAX process to load the data.

What would you recommend, the asp/php examples seem to work only with smartparsing and loadxmlstring. (Bharadwaz Pappu)

 

Answer posted on Mar 07, 2007 11:27

Smart XML Parsing helps to dramatically decrease loading time and general performance of large trees.

See in documentation samples/pro_smart_parsing.html where 50,000 nodes xml and loadXML and smartXMLParsing methods are used.

 
There is a dynamic loading in dhtmlxTree. Dynamical loading of items from XML stream gives a possibility to create DHTML trees with unlimited number of nodes. dhtmlxTree has an ability to load data asynchronously as-needed (using AJAX) that increases overall performance of the tree.

As dynamical loading needs to process incoming url parameters to work really useful, it would be good to use some server side programming language like ASP, ColdFusion, JSP or any other.

tree.setXMLAutoLoading("tree.php");

tree.loadXML("tree.php");

 

samples/treeEx31.html

samples/pro_dyn_operations.html
Answer posted by Stanislav (Support) on Dec 05, 2014 14:10

Not much can be said in addition to the reply above, but you also can check tree add topic and ajax grid .net and find out what we have probably missed in our explanation.