Back to Devexpress

ITreeListDataColumn.SortMode Property

blazor-devexpress-dot-blazor-dot-itreelistdatacolumn-ad3787ff.md

latest1.9 KB
Original Source

ITreeListDataColumn.SortMode Property

Specifies whether the TreeList sorts column data by values or uses custom sort logic.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

csharp
[DefaultValue(TreeListColumnSortMode.Default)]
TreeListColumnSortMode SortMode { get; set; }

Property Value

TypeDefaultDescription
TreeListColumnSortModeDefault

An enumeration value.

|

Available values:

NameDescription
Default

If the column editor is a combo box with specified text and value field names, the TreeList sorts column data by display text. Otherwise, the TreeList sorts column data by values.

| | Value |

The TreeList sorts column data by values.

| | DisplayText |

The TreeList sorts column data by display text.’

| | Custom |

In this mode, the CustomSort event occurs every time the TreeList compares two column values. Handle this event to implement a custom value comparison algorithm.

|

Remarks

Refer to the SortMode property description for additional information and an example.

See Also

ITreeListDataColumn Interface

ITreeListDataColumn Members

DevExpress.Blazor Namespace