Programatically scrolling to Item in Grid


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?



scrollTo(Object itemId, ScrollDestination destination) is probably the one you need

Perfect, thanks a lot!