[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Collapse]Windows 10 App Controls
 [Expand]Getting Started
 [Expand]Themes and Color Schemes
  Get More Help
 [Collapse]API Reference
    ColumnSortMode Enumeration
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

ColumnSortMode Enumeration

Lists the values that specify how a column's data should be sorted.


Expanded Public Members

Show: Inherited
  Name Description
Public field Custom

Enables custom sorting of a column's data. To implement custom sorting, handle the GridControl.CustomColumnSort event.

The Custom mode also enables custom grouping of rows when grouping is applied against the current column. To implement custom grouping, handle the GridControl.CustomColumnGroup event.

Public field Default Sorts the column's data according to the type of the editor assigned to the column.
Public field DisplayText Sorts the column's data by the column's display text (the strings displayed within the column's cells).
Public field Value Sorts the column's data by the column's edit values (these are synchronized with the bound data source's values).

Expanded Remarks

Use the following properties to specify how a column's data is sorted. When sorting is applied to columns in the GridControl, use the ColumnBase.SortMode property.

Expanded See Also

Is this topic helpful?​​​​​​​