Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Setting ultratree top node causing unwanted scroll bar behavior
posted

Hello

I'm trying to maintain the scroll position of a ultratree after updating nodes and such. Now I've seen in many places the recommendation to use the TopNode property to do this. However when I do this the scroll bar is scrolling to the top even if there are nodes above the newly set top node.

To illustrate with a trivial example. I have the following tree:

 

If I then set the TopNode to node "c0" I get this happening:

 

This is obviously unwanted behavior because it make it look like there are no more nodes above. 

Any ideas?