GridColumn.AllowSort Property

Gets or sets whether end-users are allowed to sort data by the column's values. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

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


public DefaultBoolean AllowSort { get; set; }
Public Property AllowSort As DefaultBoolean

Property Value

Type Description

A DefaultBoolean enumeration value that specifies whether end-users can sort data by the column's values.



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.

End-users can sort data by tapping a column header or tapping Sort Ascending or Sort Descending in a menu that appears when they touch and hold a column cell or header. If the grid's GridControl.AllowSort property is set to true, both these methods are available. Otherwise, end-users cannot apply data sorting.

Individual columns provide the AllowSort property that you can set to 'True' or 'False' to override the default behavior specified by the grid. This can be useful when it is required to prevent end-users from sorting data by values of specific columns.

If the AllowSort property is set to 'Default', the capability to sort data is controlled by the grid's GridControl.AllowSort property.

See Also