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

GridGroupingControl custom group sorting

Thread ID:





56039 Feb 8,2007 05:51 PM UTC Feb 8,2007 07:42 PM UTC WinForms 1
Tags: GridControl
Stuart Hallows
Asked On February 8, 2007 05:51 PM UTC

Using the GridGroupingContol, say I have three groups called 'Cheeses', 'Dogs' and 'Fruit', each group containing a number of records. These groups are displayed in alphabetical order. How can I control the display order of the groups to be non-alphabetical e.g. how to order the groups as

Can it be done?

Administrator [Syncfusion]
Replied On February 8, 2007 07:42 PM UTC

Hi Stuart,

This can be achieved by having a custom comparer and specifying it to the particular GroupedColumn in GridTableDescriptor. This was shown in the sample code.

GridGroupingControl1.TableDescriptor.GroupedColumns[0].Comparer = new YourComparer();
GridGroupingControl1.TableDescriptor.GroupedColumns[0].Categorizer = new YourCategorizer();

Also refer this KB article:

Best regards,


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