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

TreeListDataColumn.AllowSort Property

Gets or sets whether end-users can sort data by the column’s values.

Namespace: DevExpress.Web.ASPxTreeList

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

Declaration

[DefaultValue(DefaultBoolean.Default)]
public virtual DefaultBoolean AllowSort { get; set; }

Property Value

Type Default Description
DefaultBoolean **Default**

One of the DefaultBoolean enumeration values.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

If the AllowSort property is set to DefaultBoolean.Default, the column’s behavior is controlled by the ASPxTreeList’s TreeListSettingsBehavior.AllowSort property.

To specify the column’s sort order, use the TreeListDataColumn.SortOrder property. To learn more, see Sorting.

See Also