Hi Stefan,

thanks for your answer.

Your solution works and i now use it to workaround that problem.

But sometimes i really need to expand/colapse a specific node recursively
so the user can navigate through the collapsed tree and expand only the
nodes he is looking for.

Should i fill a bug request?

Regards,
Marco

2014-09-05 19:40 GMT+02:00 Stefan Ruppert <s...@myarm.com>:

> 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
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to