Hi,
I want to change the Group column after user drags a column.
For example user is dragging column 1 but i want to do grouping by column 2.
In Which event should I write the code?
please help me to solve this issue
I'm not sure if this can be done. I would try using the BeforeSortChange event. When you drag a column into the GroupByBox, this is the event that fires. You could then cancel the event and add a different column to the SortedColmuns collection of the band and specify true for GroupBy.