Skip to main content

ColumnSortMode Enum

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

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.Data.v14.2.dll

#Declaration

public enum ColumnSortMode

#Members

Name Description
Default

Sorts data according to the type of the editor assigned to a column.

Value

Sorts data by edit values of a column (these are synchronized with the values in a bound data source).

DisplayText

Sorts data by the text displayed within a column's cells.

Custom

Enables custom sorting via the GridControl.CustomColumnSort event.

Enables custom grouping of the rows when grouping is applied against the current column via the GridControl.CustomColumnGroup event.

#Passed To

You can pass ColumnSortMode values to the ColumnBase.SortMode property.

#Remarks

Use the ColumnBase.SortMode property, to specify how a column's data is sorted when sorting is applied to it. The column's data can be sorted by display text, edit values or using a custom sorting algorithm.

See Also