Skip to main content
All docs
V24.1

DxTreeList.SortBy(String, TreeListColumnSortOrder) Method

Sorts data by column values in the specified order.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public void SortBy(
    string columnFieldName,
    TreeListColumnSortOrder sortOrder
)

Parameters

Name Type Description
columnFieldName String

Specifies the name of the data source field that supplies data for the processed column. If the component does not contain the column that corresponds to the specified data field, an exception occurs.

sortOrder TreeListColumnSortOrder

The column’s sort order.

See Also