Skip to content Skip to sidebar Skip to footer

Dynatree Slow When Dynamically Loaded With 100+ Nodes

How do I speed it up? I get the results from JSON web service (lightning fast). Adding nodes to the tree using something like parentNode.addChild({ key: key, title:

Solution 1:

This benchmark shows that it is loads pretty fast: http://wwwendt.de/tech/dynatree/doc/test-bench.html (Theres always room for improvement though...)

Your problem might be, that you load and add the nodes seperately? In this case the tree is also rendered 100+ times, and that is slow indeed.

Have a look at the sample, to see how load a batch of nodes with one call: http://wwwendt.de/tech/dynatree/doc/sample-lazy.html

Solution 2:

Looks like there is an example of lazy loading the tree. Might try that out: http://wwwendt.de/tech/dynatree/doc/samples.html

Post a Comment for "Dynatree Slow When Dynamically Loaded With 100+ Nodes"