ADAdministrator Syncfusion Team May 6, 2003 08:31 AM
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.