GridColumn.SortMode Property
Namespace: DevExpress.Mobile.DataGrid
Assembly: DevExpress.Mobile.Grid.v18.2.dll
#Declaration
[XtraSerializableProperty]
public ColumnSortMode SortMode { get; set; }
#Property Value
Type | Description |
---|---|
Column |
A Column |
Available values:
Name | Description |
---|---|
Value | Column values are sorted and grouped by edit values. |
Display |
Column values are sorted and grouped by the display text (by formatted values). |
#Remarks
Important
This documentation topic describes legacy technology. We no longer develop new functionality for the Grid
GridControl allows its data to be sorted and grouped by either column values or the display text. Sorting and grouping by column values is suitable under most circumstances. Sorting and grouping by the displayed text can be useful when column data is formatted in a specific manner.
If the SortMode property is set to ColumnSortMode.Value, the column values are sorted and grouped by initial values.
If this property is set to ColumnSortMode.DisplayText, the column values are sorted and grouped by columns formatted values.