-
FEATURED COMPONENTS
First time here? Check out the FAQ!
neata :)
the zk6 tree has a new behavior compared to the zk5 tree, it loads the whole tree from the beginning instead of level by level as the zk5 tree.
when rendering the tree, it tries to load all children of all children of all children and so on of the node to be opened. why is that and how can it be avoided?
the zk5 tree always loads only one level of children and goes no further.
Hi,
For huge data, maybe turn on "render on demand" can help you.
http://books.zkoss.org/wiki/ZK%20Developer's%20Reference/Performance%20Tips/Listbox,%20Grid%20and%20Tree%20for%20Huge%20Data/Turn%20on%20Render%20on%20Demand
..just tested it out. unfortunately it's not a migration problem, i would say it is a bug of the zk6
i'm displaying a file system tree so you can image how much time it needs to load when opening one directory the zk6 tree loads all levels down to the last of its descendants, which should no happen. one level of children is enough, and other levels should be loaded only when needed to be displayed.
anyone knows a quick fix to this or is it in fact a bug of the zk6?
Asked: 2012-06-21 09:40:40 +0800
Seen: 221 times
Last updated: Jul 27 '12