Skip to main content
A newer version of this page is available. .
Tab

GridViewDataColumn.UnSort() Method

Clears the sorting applied to the column.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public void UnSort()

Remarks

The UnSort method sets the GridViewDataColumn.SortIndex property to -1. The GridViewDataColumn.SortOrder property is automatically set to the ColumnSortOrder.None value.

Sorting is allowed if the ASPxGridBehaviorSettings.AllowSort property is set to true.

See Also