Hi Samuli, quick question. I have a Spring repository that implements pagi

Hi Samuli, quick question.

I have a Spring repository that implements paging and accepts offset and limit to query paged subset of DB records(e.g page 1, size 10 → page 2, size 10, etc.).

Is there a way in API to catch the event when the grid is scrolled down and catch the Y coordinate of where it currently is? in this way i can lazy load the fetch from the spring service in DB.

The API for InfiniteGrid is very low level and you have to only provide a lambda that takes x, y coordinates and returns the cell content. It asks only for coordinates that it needs to display currently visible cells so lazy loading works in a way that when users scrolls down the lambda is called with greater y values. You need to implement some logic on top of that to handle spring pagination.

Thanks Samuli, i will give it a shot :D