GridViewColumnState.SortOrder Property
Gets or sets the column’s sort order.
Namespace: DevExpress.Web.Mvc
Assembly: DevExpress.Web.Mvc5.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
ColumnSortOrder | A ColumnSortOrder enumeration value that specifies the column’s sort order. |
Available values:
Name | Description |
---|---|
None | No sorting is applied to a column. |
Ascending | Sorts the column in ascending order. |
Descending | Sorts the columns in descending order. |
Remarks
The SortOrder property’s value determines what sort order is currently applied to the column.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SortOrder property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.