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.
Hello!
1. Can I sort a column by clicking at its header?
2. Is there anyway to define default sorting?
Thanx in advance.
Maqsood Ahmed
Kolachi Advanced Technologies
http://www.kolachi.net
ADAdministrator Syncfusion Team December 31, 2004 06:00 AM UTC
Take a look at the Grid\Samples\Quick Start\GridControlSort sample. It shos ho you can add some code to your project to support sorting in a GridControl.
To do custom sorting you need an object that implements IComparer to define your object comparisons. The SortByColumn call used in the above referenced sample accepts an IComparer object to allow for custom sorting.