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.
Unfortunately, activation email could not send to your email. Please try again.

How to sort a GridControl programmatically?

Thread ID:

Created:

Updated:

Platform:

Replies:

100247 Jul 19,2011 01:50 AM Jul 20,2011 03:02 AM Windows Forms 1
loading
Tags: GridControl
Nihar Ranjan Dalai
Asked On July 19, 2011 01:50 AM

Hi,

Can anyone tell me as to how to sort a GridControl (and not GridGroupingControl or GridDataBoundGrid)? I have the field name and I would like to sort the grid on it.

Hoping for your help,
Thanks and regards,
Nihar.


Jisha Joy [Syncfusion]
Replied On July 20, 2011 03:02 AM

Hi Nihar,

Please refer to the following browser sample that implements sorting in GridControl. This sample will show you how to implement header-click sorting in your grid. The header cell draws a sort icon to indicate that the column has been sorted in a particular direction.

\Windows\Grid.Windows\Samples\2.0\MS Excel-Style Features\Grid Control Sort Demo\cs

Regards,
Jisha


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.

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.

;