Hi,
I have a grid with a number of columns, two of these are Name and orderID. We allow the user to use the group by function by dragging a column to the group by box. So if they drop the name column there, it groups on name and then the group by rows are sorted in name order. I would like the group by rows to always be sorted on the orderID. How can I accomplish this?
Sincerly,
Gabriel
Hi Gabriel,
You can sort the GroupByRows using a GroupByRowSortComparer on the column. You will need to create a class that implements IComparer.
Where would I set this Comparer? And in what event?
cheers,