Is there a way in vaadin to scroll or jump to a certain point (e.g. a Label
) inside a view (e.g. a Panel
)when a button or link component is clicked? Similar to the anchors functionality on a website?
I'm using Vaadin 7.5.9
EDIT:
I have a HorizontalSplitPanel
. Its first component is a list of items where a user can make a selection. Is an item selected the second component of the HorizontalSplitPanel
opens. The second component consists of a VerticalLayout
containing a heading and a menu and a Panel
. If there is a selection in the menu the Panel
should be scrolled to the referred entry.
VerticalLayout
in the second component of aHorizontalSplitPanel
. TheVerticalLayout
contains some content and aPanel
. Within thisPanel
I want to jump to a certain "anchor". Using your suggested method unfortunately also scrolls the second component of theHorizontalSplitPane
and not just the content of thePanel
, which is what I'd like to achieve. Any suggestion for that, please? – Arch