Skip to main content

TreeListDataColumn.Unsort() Method

Clears the sorting applied to the column.

Namespace: DevExpress.Web.ASPxTreeList

Assembly: DevExpress.Web.ASPxTreeList.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public void Unsort()

Remarks

The Unsort method sets the TreeListDataColumn.SortIndex property to -1, and the TreeListDataColumn.SortOrder property to ColumnSortOrder.None.

Sorting is allowed if the TreeListSettingsBehavior.AllowSort property is set to true. To learn more, see Sorting.

See Also