Skip to main content

GridControl.SortMode Property

Specifies whether the grid allows data sorting by multiple columns or by a single column only. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.2.dll

Declaration

public GridSortMode SortMode { get; set; }

Property Value

Type Description
GridSortMode

A GridSortMode enumeration value.

Available values:

Name Description
Single

The grid allows sorting data by only a single column at a time.

Multiple

The grid allows sorting data by multiple columns.

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.

Use the SortMode property to specify whether grid data sorting is allowed by multiple columns or by a single column only. To control whether the sorting is available for end-users, use the GridControl.AllowSort or GridColumn.AllowSort property.

See Also