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 and Paginated Rest API
Hi There,
Is there any best practice or code sample on how to display data coming from Paginated Rest API on Vaadin Grid?
Controller for the Rest API is something like;
@RequestMapping(value="/search", method=RequestMethod.GET, produces=MediaType.APPLICATION_JSON_VALUE)
@ResponseStatus(HttpStatus.OK)
public Page<MyObject> findAll(Pageable pageable) {
...
}
We do not want to pull all the data from API in one call (it will be millions of records).
Instead everytime user scrolls down at the Grid, We want to call the API to get the next page(s).
We appreciate any suggestion.
Did you ever work out how to do this? I'm about to embark on something similar, but it would be a great help if you already had something working.