What is the easiest way to do absolute value sort for numeric columns when the user presses the column header?
Thanks in advance
Nish
Hi Nish,
You could do this using a SortComparer. You would create class that implement IComparer and then implement the Compare method. The x and y values passed in to the method will be two cells and you just get the values of the cells and get the absolute value and call compare on those values.
Mike,
I am new to UltraGrid, I need to sort a grid column by Absolute value too, can you supply a code sample of SortComparer, and IComparer that will do this ....
Thanks
Bob