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.
ADAdministrator Syncfusion Team November 23, 2004 07:07 PM
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