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.
Grid: get index of top visible row
Hello,
I'm using one vaadin-grid instance to displaying several datasets. I switching between the data with tabs and set the grid.items, and grid size values.
It works very well for my but now I want to save the current visible rows before switching the dataset so I can view the same data when I'm come back using scrollToRow(index, "start").
Is there any posiibility to get the current index of the first visible row?
Kind Regards
Rafael.
Hi Rafael,
That info should be available internally at least, but we are not exposing that info in the public API. Seems like a valid feature request, so can you open a new issue in GitHub, and we can continue the discussion there. Thanks!