Tab

GridViewDataColumn.UnSort() Method

Clears the sorting applied to the column.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

public void UnSort()
Public Sub 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