ADAdministrator Syncfusion Team September 10, 2003 01:53 PM
> We are using the GridControl.Data.SortByColumn. It is working great for text column. How about sorting for integers?
ADAdministrator Syncfusion Team September 10, 2003 01:55 PM
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.