Skip to main content

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.v24.2.dll

Declaration

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

Property Value

Type Default Description
DefaultBoolean Default

One of the enumeration values.

Available values:

Name Description Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

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