Morning,
Simple question how does one clear the grid of any group by columns user may have selected during use?
example, to clear all filters in the grid a user may have set during use I do:
If (objGridIs.DisplayLayout.Bands(0).ColumnFilters.Count > 0) Then objGridIs.DisplayLayout.Bands(0).ColumnFilters.ClearAllFilters()End If
I can't seem to find the ClearAllGroupBys().
Thanks
Deasun
Found It!
If (objGridIs.DisplayLayout.Bands(0).SortedColumns.Count > 0) Then objGridIs.DisplayLayout.Bands(0).SortedColumns.Clear()End If