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
650
How to tell the difference between grouping and sorting?
posted

The BeforeSortChange event appears to be firing both when the user simply clicks a column heading to sort and when the user drags a column into the group by area so it gets grouped.

 How does one tell the difference between these 2 different actions?

Parents
  • 469350
    Verified Answer
    Offline posted

    You would have to examine the e.SortedColumns collection and compare it against the SortedColumns collection of the band to see what changed. You would mainly be concerned with which columns are in the collection, the SortIndicator property (on the column header) and the IsGroupBy property.

Reply Children
No Data