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.
I am using a GridGroupingControl and would like to do a multi column sort on the data. Does anyone know how this can be achieved.
All the avalailable information i''ve come across focuses on how this is achieved using GridControl and GridDataBoundGrid.
ADAdministrator Syncfusion Team June 13, 2005 10:37 AM UTC
There is no UI for sorting multiple columns in a GridGroupingControl.
From code to sort several columns, you add the columns the grid.TableDescriptor.SortedColumns collection.
If you want a UI, you could handle TableControlCellClick event and manage the sorting yourself. For example, if the ctl-key is not pressed, clear the grid.TableDescriptor.SortedColumns collection before adding the clicked column. If is pressed, don''t clear it before adding the clicked column.