The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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.
ADAdministrator 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