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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

I want to improve the performance of GridDataBoundGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

7353 Sep 22,2003 11:03 AM UTC Sep 22,2003 04:34 PM UTC WinForms 1
loading
Tags: GridControl
Administrator [Syncfusion]
Asked On September 22, 2003 11:03 AM UTC

Hi i want to show the data in grid in pages, (like we dont with ADO.Pages,AbsolutePosition concept in VB6) Do we have any facility right now like we have navigator control for records can we have it for pages of records Any ideas / directives would be welcome Thanks in advance Rajaraman

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;