Hi Marco, you can use WTreeView::expandToDepth() and pass your maximum depths for expanding all nodes... This method works reliable for my purposes. To collapse all visible nodes again you can collapse only the top-level nodes.
Regards, Stefan Am 05.09.2014 19:13, schrieb Marco Kinski: > Hi List, > > i need to expand/collapse nodes on a large tree. > > After toggling the tree for about 5 times the browser gets out of sync > and shows the loading picture instead of the elements. If this happens > the application sometimes asserts (in WTreeView.C:2393) on scrolling. > > What I am doing wrong? > > Example code: http://pastebin.com/tPM0Sz9e > WT-Version: 3.3.3 > > -- > Regards, > Marco > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > > > > _______________________________________________ > witty-interest mailing list > witty-interest@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/witty-interest > ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest