PDA

View Full Version : async treenode expand/load bug



seldon
14 Feb 2007, 4:44 AM
Hi,

I think there still is a bug in the asynctreenode/treenode component. If i set rootVisible to false and then load the tree, the childnodes of the rootnode are loaded twice! (drawn only once due to inclusion of expanded:true in all the node configs). The only way i can make sure that the nodes are not loaded twice, is via this piece of code:


inGroupsTree.root.loaded = false;
inGroupsTree.root.expand();
inGroupsTree.root.renderChildren();

Jack i think you really should look into this :)

Ok, i hope im not wasting your time by some mistake of my own,

Cheers,

Seldon

jack.slocum
14 Feb 2007, 1:31 PM
Any code example so I can duplicate? Thanks.