Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Scrolling Tree in a Split Panel
Hi.
I have put a large tree (1500 items), on the left hand side of a horizontal split panel. Scrollbars appear, and it is scrollable. Nice! However, when I refresh the data in the tree, i would like to position it back to the top. Horizontal Split Panel doesn't have a setScrollPosition method.
I have tried wrapping my tree in a panel, and putting that in the horizontal split panel, but this doesn't work as the horizontal split panel appears to be showing the scroll bars, not the panel!
Can anyone tell me how to set the scroll position of the compenents in a split panel?
Thanks