Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Michael Gordon on Dec 05, 2007 14:42
open dhtmlx forum
asynchronous loading

Hey,
I have the professional version of treegrid, and I was wondering if there was a way so that I could load the grid using multiple ajax calls. I want either something similar to distributed parsing where each call goes back to the server, or similar to smart rendering where I can specify what size chunks of data to send back (not just the total number of rows).

Is anything like this possible? If not, is there a way to override your ajax calls so I can do the above?

Thanks
Answer posted on Dec 06, 2007 02:18
The TreeGrid component supports only one way of dynamical loading - executing separate ajax calls for each branch, please check
    http://dhtmlx.com/docs/products/dhtmlxTreeGrid/samples/initialization_loading/treeGrid_dynamic.html?un=1196936828000

There is no way to use smartRendering in case of TreeGrid

>> If not, is there a way to override your ajax calls so I can do the above?
The grid.loadXML() can be used for dynamically adding data , this command by default add xml to existing TreeGrid structure without breaking existing one. So you can, for example, just call loadXML for different parts of TreeGrid hierarchy with time delay.