Hi,
How can I cancel all the GroupBy in the code ?
Like, if I click a button, I want that if I got three actives GroupBy, the grid redraw like when I open it (without any group by)
thx
The second option was what I need
thx!
If you want to cancel the actual grouping process when the user tries to do it, you could use the BeforeSortChange event. If you're trying to remove all the GroupByColumns, you could simply clear the SortedColumns collection on the band (i.e. this.ultraGrid1.DisplayLayout.Bands[0].SortedColumns.Clear();).
-Matt