Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
Use the GroupBy header to sort
posted

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 

Parents
  • 469350
    Offline posted

    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.

Reply Children