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.
Programatically scrolling to Item in Grid
Hi,
i'm currently trying to scroll to an item i have in my grid. I call select(itemID), the item gets selevted. However if the item is not visible currently as there are many items in the grid the selection can not be seen. So i want to scroll to that item.
In Table there was a method called setCurrentPageFirstItemId(itemId) which set the item as first item of the current page. Is there something similiar to that in grid?
Thanks
Samuel
scrollTo(Object itemId, ScrollDestination destination) is probably the one you need