Hi
I would like to use the GroupBy header row to only sort data (using several columns).
Basically, I want to display only the children rows after the group by (that is, if I'm not wrong, a sort).
So, is there any way to do something like :
1 - catch the events "a column has been added/removed/moved in the groupby header",
2 - then do the sort and cancel the classic groupby operations ?
Thanks
Hi,
You can use the BeforeSortChanged event to catch and modify the sorting that is being done. But I'm not sure I understand what you want to do here. Are you saying that when the user drags a column into the GroupbyBox, you don't want to group by that column, but just sort the rows instead? That seems like a very strange UI... but it is possible to do.
Hi Mike
Yes this is exactly what I want to do : when the user drags a column into the GroupbyBox, just sort the rows.
This is because our users can sort following quite a large number of columns, and I found this way quite easy and visual.
Can I also change the default text of this header : "Drag a column header here to group by that column" ?