| Author |
Message |
shruti.gongle
Joined: 14 May 2007 Posts: 2
|
Posted: Mon May 14, 2007 2:11 pm Post subject: ExpandAll Function is extremely slow. |
|
|
Hi,
I recently started using cooltree and i have implemented checkboxes at each level. I have 3 level tree, but the number of nodes is large (>1000 nodes in all).
I want to expand all the nodes at load, but this is taking forever. I also have ExpandAll and CollapseAll buttons. In the subsequent hits, the expandAll is pretty fast.
Is there any way I can speedup the expandAll on load?
Rest all functionality is working fine. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Mon May 14, 2007 10:49 pm Post subject: |
|
|
You're hitting browser's performance limits. There is no way to speed up global expansion.
Please, think twice:
1. If you're expanding all nodes at load time, then you actually don't need dynamic expansion/collapsion - you can use plain HTML tree.
2. Hardly anyone wants to see 1000+ nodes (and checkboxes) at the same time. |
|
| Back to top |
|
 |
shruti.gongle
Joined: 14 May 2007 Posts: 2
|
Posted: Mon May 14, 2007 11:12 pm Post subject: |
|
|
| Do you think if I get the prof version, it will speed up the performance? I see the prof version has some added features. |
|
| Back to top |
|
 |
AlexKunin Developer
Joined: 03 Jan 2003 Posts: 1191
|
Posted: Mon May 14, 2007 11:37 pm Post subject: |
|
|
| I repeat: you're hitting browser's limits. |
|
| Back to top |
|
 |
|