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,
How do I implement multi-level sort in Grid Control ?
the user can sort on one of the columns and within the sorted rows, we need columns to be internally sorted as per content.
e.g User sorts by Location, and the grid is also sorted by name column within the display.
Thanks,
Supriya
ADAdministrator Syncfusion Team October 15, 2004 01:39 PM UTC
You will need to implement an IComparer that takes into account multiple columns.
I do not have a sample of doing exactly that, but Here is a sample that sorts column 4 by string length using a custom IComparer.