Skip to main content

GridControl.ClearSorting() Method

Clears the sorting applied to the grid.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public void ClearSorting()

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

The ClearSorting method removes all the sorting applied to any columns. To clear sorting by a particular column, set the column’s GridColumn.SortOrder property to ColumnSortOrder.None.

See Also