Optimize the performance in Tree´s array
[Logo]
ICEfaces Forums
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Optimize the performance in Tree´s array  XML
Forum Index -> General Help
Author Message
miguel.gonzalez

Joined: 16/07/2007 00:00:00
Messages: 3
Offline


We have about 3,000 boxes in a Tree, but is very slow and the Firefox doesn´t respond.

Could you have some tips for the best performance.

Thank´s

Miguel Angel
hildo

Joined: 14/11/2007 00:00:00
Messages: 73
Offline


Is it necessary to pre-populate the tree with 3,000 boxes from the start? Couldn't you break it up into pages, only displaying the nodes when required? If they're all on the same level, return them in fixed-size chunks (20 at a time?), and only get the next twenty on request? If they're not on the same level, only get the child nodes when the parent node has been expanded?

From a usability point of view, I wouldn't think that sifting through a tree with 3,000 nodes would be something a User would want to do...
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team