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()
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
We are updating the DevExpress product documentation website and this page is part of our new experience. During this transition period, product documentation remains available in our previous format at documentation.devexpress.com. Learn More...