The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I was wondering if there was any built in functionality for paging in the grid? If not, any suggestions would be helpful. I am binding to a dataset table.
ADAdministrator Syncfusion Team May 6, 2003 01:31 PM UTC
There is no built in support for paging in a GridDataBoundGrid.
The grid just displays whats in the DataTable, and only accesses what it needs to draw. If you want to page, then you would work with the DataSource and the DataTable, filling your datatable with more rows as needed.
One technique for deciding 'when its needed' would be to maintain a high water mark in your datatable which reflects the last row loaded. Then you could handle the TopRowChanged event in the grid, and if the top row is within some limit of your highwatermark, then have your dataadapter load your next page. This would raise your highwater mark.
Then as long as the grid is scrolled under the highwater mark, it would use the current disconnected ado.net datastore. When you scroll close to your high water mark, there would be another trip to the datasource to retrieve more data through the adapter and appended to the local datastore.