AD
Administrator
Syncfusion Team
September 22, 2003 04:34 PM UTC
The grid has no built-in support for pagination. What I would suggest is that you place some buttons in your form. In the buttons Click event handler you can then create a new datatable and fill it with the subset of data from the underlying datasource that you want to display for a given page. That datatable could then be assigned to the grid as grid.DataSource. The grid will then display that table.
The following MSDN documentation (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemwebuiwebcontrolsdatagridclassallowcustompagingtopic.asp) has some sample code how to manually create a DataTable and fill it with subset from data. See the ICollection CreateDataSource() method.
Stefan