PDA

View Full Version : check box tree performance issue



ByReaL
7 Sep 2016, 4:51 PM
create a check box tree (tri state) with
~10K leafs, (currently i have 40K nodes and it's almost unusable keep getting the "wait" window from browser when i select a folder )
4-5 levels of depth
~20 elements per level evenly distributed (till we have 10K leafs)


now
- expand the tree 1 level and maybe from second level just one node
- select the top most node.
at this moment the web page will freeze and it will stay like this for a good amount of time (~2-5 min) till the node is being selected/checked.


google chrome (Version 52.0.2743.116 m (64-bit))
but it happens in other browsers as well
windows 10 x64
cpu I5-2500
8 GB of ram




this are the options witch i have enabled on the tree:

myTree.setIconProvider(myTreeIconProvider);
myTree.setCheckable(true);
myTree.setCheckStyle(CheckCascade.TRI);
myTree.setCheckNodes(CheckNodes.BOTH);
myTree.setPixelSize(300, 600);
myTree.setBorders(true);
myTree.setTrackMouseOver(true);
beside those i also have the tree store

this bug was theer in 3.x GA and is present also in the new GXT 4 GA
https://www.sencha.com/forum/showthread.php?259436

ByReaL
14 Dec 2017, 10:38 AM
any idea here ?