GridColumn.SortMode Property
Namespace: DevExpress.Mobile.DataGrid
Assembly: DevExpress.Mobile.Grid.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
ColumnSortMode | A ColumnSortMode enumeration value that specifies how column values are sorted and grouped. |
Available values:
Name | Description |
---|---|
Value | Column values are sorted and grouped by edit values. |
DisplayText | 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 GridControl and suggest that you use the new DataGridView control instead.
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.