Articles in this section

How to clear the sorted columns?

To clear the sorted columns of the GridGroupingControl the Clear method of the SortedColumns has to be invoked. Please refer the below code snippet which illustrates this:

To clear all the sorted columns:

C#

this.GridGroupingControl1.TableDescriptor.SortedColumns.Clear();

VB

Me.GridGroupingControl1.TableDescriptor.SortedColumns.Clear()

To clear sorting of a particular column:

C#

this.GridGroupingControl1.TableDescriptor.SortedColumns.RemoveAt(0);

VB

Me.GridGroupingControl1.TableDescriptor.SortedColumns.RemoveAt(0)

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied