We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Infinite scroll with unknown count


Is it possible to use infinite scroll on remote data without returning the count? I have a very large dataset and running a count on the full dataset is prohibitively slow.

Ideally I'd like the grid to run the query as normal and if it returns less than the page size then don't query again when scrolling to the bottom.

I'm using a GraphQL adaptor if that makes any difference.


1 Reply

RS Rajapandiyan Settu Syncfusion Team November 17, 2022 07:33 AM

Hi Todd,

Thanks for contacting Syncfusion support.

In EJ2 Grid, the total records count is mandatory for the Pagination/ Infinite Scrolling/ Virtualization feature. So, we must return the total records count from the server when using remote data binding. This is the default behavior of Grid.


Rajapandiyan S

Live Chat Icon For mobile
Up arrow icon