Lazy Loading using Pagination

Hi Team,

How can I Lazy load data on SF grid based on the current page the user is in. How can the page count be given if on initial load only 10 rows are loaded.

I was planning to using SF grid Events for calculating the page number and then use skip and take in database to lazy load the data


Regards,

Syam



1 Reply

NP Naveen Palanivel Syncfusion Team July 4, 2022 05:12 AM UTC

Hi Syam


We checked your query and we suspect you want fetch the data specifically. Is it is your requirement, so we suggest to use custom binding adaptor. They have skip and take to fetch data, . Kindly refer the documentation link for more details


Reference: https://blazor.syncfusion.com/documentation/datagrid/custom-binding#custom-adaptor-as-component


If you are still facing the reported issue, then the following details would be helpful for us to proceed further.


  1. Kindly, explain the query in detail  or explain the requirement in video demonstration
  2. Share the screenshot of the issue you are facing.
  3. Are you using remote data or local data


Above request details will be very helpful for us to further validate the reported query at our end and provide solution as easy as possible.


Regards,

Naveen Palanivel.


Loader.
Up arrow icon