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

IGridDataColumn.SortMode Property

Specifies how grid data is sorted (by value, by display text, or custom logic is used).

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v22.1.dll

NuGet Package: DevExpress.Blazor

Declaration

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

Property Value

Type Default Description
GridColumnSortMode Default

A GridColumnSortMode enumeration value.

Available values:

Name Description
Default

Sorts data by value.

Value

Sorts data by value.

DisplayText

Sorts data by display text.

Custom

Custom logic is used.

Remarks

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

See Also