DeleteAll Method
See Also

Description
Clears all stored order information. Removes all of the columns from the collection of sorted and/or grouped GridColumn's.
Syntax
Public Sub DeleteAll()
Remarks
Clears all stored order information. This will remove all columns from the collection of sorted GridColumn's, which will remove any grouping and sorting. This will not affect the GroupCaption, GroupPriority, or SortPriority properties of the GridRecordItems.
Example
Removing All Columns from the GroupsOrder and SortOrder Collections (Visual Basic)
This sample illustrates how to remove all columns from the GridControl's collection of SortOrder and GroupOrder columns.
' Removes all columns from the GridControl's GroupsOrder collection
wndGridControl.GroupsOrder.DeleteAll
' Removes all columns from the GridControl's SortOrder collection
wndGridControl.SortOrder.DeleteAll
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.