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.
ADAdministrator Syncfusion Team September 10, 2003 06:53 PM UTC
> Hi,
>
> We are using the GridControl.Data.SortByColumn. It is working great for text column. How about sorting for integers?
>
> Aaron
>
ADAdministrator Syncfusion Team September 10, 2003 06:55 PM UTC
Make sure you set the GridStyleInfo.CellValueType to typeof(int) so the grid knows you are using integers. You can do this by setting
grid.ColStyles[nCol].CellValueType = typeof(int);
If you look at the GridControlSort sample, it can sort integers properly.