Categories | Question details Back To List | ||
tree loading from database Hello, I was looking at sample for loading large trees. However, in your sample the xml is already defined in XML file. Is there a way for your controls to partially load from database? So basically I have all my nodes in a database table with id and parent id columns. Is there a way to load from this table quickly without having to recurse all directories and only load on demand. Lets say just load the first level initially and load the rest as user clicks on sub nodes? If so could you please provide an example? Thanks. Answer posted by Stanislav (support) on Oct 01, 2009 08:43 >>Is there a way for your controls to partially load from database? Yep, data can be loaded by branches , on demand. http://www.dhtmlx.com/docs/products/dhtmlxTree/samples/12_loading_processing_data/13_tree_dyn_loading.html >>If so could you please provide an example? The full server side code of above sample is included in the Tree's package Also, you can check related connector's sample ( php, java and .net connectors has native support for dyn. loading mode ) Answer posted by Michael on Oct 01, 2009 13:59 Thank you. I created a sample against my DB and it works perfectly. |