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.
vaadin-grid total rows
I'm trying to find a way to display the number of visible rows in the grid footer . Is there a way to retrieve this value ?
Hi,
Do you mean the total number or rows by "visible rows", or do you actually mean only the rows that are visible in the grid viewport (and not all rows that the user can scroll to)?
For the first, you (as in the application developer) are responsible of knowing how much data you have in the grid, by specifying the grid.size property (if you are using a function/remote data source). If you are using an array data source, then you should also know the size of that array.
Once you know the number, then it’s straightforward to place the number in the footer row using the JS API.