[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
  Prerequisites
 [Expand]Getting Started
 [Expand]Controls
 [Expand]Themes and Color Schemes
  Localization
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Core
  [Expand]DevExpress.Data
  [Expand]DevExpress.Data.Filtering
  [Expand]DevExpress.Mvvm
  [Expand]DevExpress.Mvvm.UI
  [Expand]DevExpress.UI.Xaml
  [Expand]DevExpress.UI.Xaml.Charts
  [Expand]DevExpress.UI.Xaml.Controls
  [Expand]DevExpress.UI.Xaml.Controls.Internal.Pdf
  [Expand]DevExpress.UI.Xaml.Editors
  [Expand]DevExpress.UI.Xaml.Editors.Native
  [Expand]DevExpress.UI.Xaml.Gauges
  [Expand]DevExpress.UI.Xaml.Grid
  [Expand]DevExpress.UI.Xaml.Grid.Native
  [Expand]DevExpress.UI.Xaml.Layout
  [Expand]DevExpress.UI.Xaml.Layout.Base
  [Expand]DevExpress.UI.Xaml.Layout.Internal
  [Expand]DevExpress.UI.Xaml.Layout.VisualElements
  [Expand]DevExpress.UI.Xaml.Map
  [Expand]DevExpress.UI.Xaml.Ribbon
  [Expand]DevExpress.Utils
  [Collapse]DevExpress.XtraGrid
    ColumnSortMode Enumeration
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[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.

Namespace:DevExpress.XtraGrid
Assembly:DevExpress.Core.v18.1.dll

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).
Top

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?​​​​​​​