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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Grouping Order vs Sort Order

Thread ID:





21801 Nov 23,2004 11:06 AM UTC Nov 24,2004 12:07 AM UTC WinForms 1
Tags: Grouping
Jason Southgate
Asked On November 23, 2004 11:06 AM UTC

Hi, In my GridGroupingControl, how can I make the SortedColumns override the GroupedColumns? Currently, I have say 25 elements to which I have assigned "SortOrder" values, grouped into 5 groups of 5, by say "Group#". What happens currently is it sorts always on the "Group#" rather than the new SortOrder column I have made. Is there any way to give the SortedColumns priority over the GroupedColumns?? Or do I have to instead make "GroupSortOrder" and "ParentSortOrder" columns to accomodate this? Thanks for your advice. Jason Southgate.

Administrator [Syncfusion]
Replied On November 24, 2004 12:07 AM UTC

Hi Jason, there is no way to give the SortedColumns higher priority. But what you can do is use a custom comparer. In that compare by your SortOrder values. See the following KB for a custom Comparer with groups http://www.syncfusion.com/Support/article.aspx?id=10507 Stefan


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

Live Chat Icon For mobile
Live Chat Icon