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

How to sort a GridControl programmatically?

Thread ID:





100247 Jul 19,2011 05:50 AM UTC Jul 20,2011 07:02 AM UTC WinForms 1
Tags: GridControl
Nihar Ranjan Dalai
Asked On July 19, 2011 05:50 AM UTC


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,

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

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



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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