aspnet-devexpress-dot-web-dot-aspxtreelist-26a51124.md
Lists the values that specify how a tree list column’s data should be sorted.
Namespace : DevExpress.Web.ASPxTreeList
Assembly : DevExpress.Web.ASPxTreeList.v25.2.dll
NuGet Package : DevExpress.Web
public enum TreeListColumnSortMode
Public Enum TreeListColumnSortMode
| Name | Description |
|---|---|
Default |
If a column’s TreeListDataColumn.SortMode property is set to default , the column’s data will be sorted according to the TreeListSettingsBehavior.SortMode property. If both those properties are set to Default , the grid data is sorted by the column’s edit values (these are synchronized with the bound data source’s values).
|
| Value |
Sorts the column’s data by the column’s edit values (these are synchronized with the bound data source’s values).
|
| DisplayText |
Sorts the column’s data by the column’s display text (the strings displayed within the column’s cells).
|
The following properties accept/return TreeListColumnSortMode values:
Use the Tree List’s TreeListDataColumn.SortMode property to specify how a column’s data is sorted when sorting is applied. To define the sorting mode for all tree list columns, use the ASPxGridBehaviorSettings.SortMode property.
See Also