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

Grouping Order vs Sort Order

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.

1 Reply

AD Administrator Syncfusion Team 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

Loader.
Live Chat Icon For mobile
Up arrow icon