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.v24.2.dll
NuGet Package: DevExpress.Blazor
#Declaration
[DefaultValue(GridColumnSortMode.Default)]
GridColumnSortMode SortMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Grid |
Default | A Grid |
Available values:
Name | Description |
---|---|
Default | If the column editor is a combo box with specified text and value field names, the Grid sorts column data by display text. Otherwise, the Grid sorts column data by values. |
Value | The Grid sorts column data by values. |
Display |
The Grid sorts column data by display text. |
Custom | In this mode, the Custom |
#Remarks
Refer to the SortMode property description for more information and an example.