Hi
I am trying to have sort functionality on Ultra Win Grid on column header click. The problem is I want it to sort by Natural sort order. The field type is string.
Do we have Natural sort order functionality in UltraWinGrid?
Thanks
Hi,
I don't know what you mean by "Natural sort order". But if you want to sort by anything other than the default, you would have to use a SortComparer on the column. You create a class that implements the IComparer interface and then you can control the sort order in whatever way you like.
Hi Mike,
Thanks I will implement the Natural sort.
Natural sort is like if we have string data column and want to sort in numeric order for numbers and alphabetic order for words.
e.g. values are: 1 , 3, 10, abc
String (alphabetic) order would be: 1, 10, 3, abc; but Natural sort order would be: 1, 3, 10 , abc