Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    ITreeListDataColumn.SortMode Property

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

    Namespace: DevExpress.Blazor

    Assembly: DevExpress.Blazor.v25.1.dll

    NuGet Package: DevExpress.Blazor

    #Declaration

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

    #Property Value

    Type Default Description
    TreeListColumnSortMode Default

    An enumeration value.

    Available values:

    Name Description
    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 more information and an example.

    See Also