Multiple trees and speed issues

I have successfully implemented one single tree with several nodes (over 1000).
This takes approximately 3-5 seconds.

I am using the standard version, with the loadFromHTML method.
Is there any way to speed this up? I can’t get it working using XML.

The reason I want the speed up is because I want this same tree loaded multiple times (10 times) on the one page except in separate tabs.

Any suggestions?

You can use either Smart XML Parsing (only PRO edition) or Dynamic Loading (available in Standard too):

dhtmlx.com/docs/products/dht … rsing.html

dhtmlx.com/docs/products/dht … ading.html

Details are here docs.dhtmlx.com/doku.php?id=dhtm … erformance

If dynamic loading isn’t approapriate for you, Smart XML Parsing is the only solution. In this case you can load xml once using dhtmlxAjax and then loaded items are added to each tree by loadXMLString method - Smart XML Parsing is necessary to render tree nodes by portions.

Thanks Alexandra!
I successfully have my tree(s) now dynamically loading the data from an XML file.

I had issues using XML before, but it seems if I use the JavaScript files from the source directory rather than codebase it resolved most of my issues.

I’m thinking about purchasing the professional addition, so I can use Smart XML Parsing.