Community
Participate
Working Groups
Currently the virtual Tree widget is not really virtual. When the Tree#setItemCounts is called the TreeItem objects are created regardless the Tree is VIRTUAL or not.
Added implementation for setItemCount to TreeItem.js and Tree.js in CVS HEAD.
We did some refactoring on the server-side Tree as well. There are still some room for improvements like: * Tree#setItemCount should not create items if tree is virtual. * not use public methods like getItem( int ), getItems(), getItemCount() internally to avoid items creation * rework getTopItem(), should not call collectVisibleItems (Performance) * clean up collectVisibleItems * improve flatIndices updating Changes are in CVS HEAD.
Created attachment 195597 [details] Server-side refactoring
All needed refactorings related to virtual behavior of the Tree are in CVS HEAD.