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 - group one column, sort group using another column

Thread ID:





92146 Dec 22,2009 09:21 PM UTC Dec 23,2009 09:07 AM UTC WinForms 1
Tags: GridControl
Greg Kim
Asked On December 22, 2009 09:21 PM UTC

Is there a way to group on one column and then use the values in another column to sort the group?

For instance, if there is a Systems table with a SystemID column and a Rank column, the grouping would occur on SystemID and then Rank would determine the order the SystemID's would be displayed.


SystemID, Rank
SystemA, 2
SystemB, 1
SystemC, 3

So with the above data, if the sort was ascending, then the ggc would display:

SystemB, SystemA, SystemC

instead of:

SystemA, SystemB, SystemC

I added a Rank as a SortedColumn to the ggc but that did not work.


Lingaraj S [Syncfusion]
Replied On December 23, 2009 09:07 AM UTC

Hi Greg,

Thank you for your interest in Syncfusion products.

Please try using CustomerComparor in GridGroupingControl Sort/Grouped column to achieve your requirement as shown in attached sample.

Refer the sample from below link:

Please let me know if you have any queries.

Lingaraj S.


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