Hello,
I have an ultragrid that has a set of rows bound to it.
When the user clicks on one of the column header I want to intercept and provide a custom sorting algorithm instead of the built in ascending and descending sort.
Is it possible with the Grid events.
Thanks
You can do this by assigning an IComparer class to the SortComparer property of the column.
I thought about it. But I also need to know which column was clicked/ which column is being sorted.
I don;t wan to write 10 different Icomparer functions for each column.
After Initial checks is there a way to give the control back to the in built sorting algorithm or somehow know which column is being sorted.