Skip to main content

GridColumn.AllowGroup Property

Gets or sets whether end-users are allowed to group data by the current column. This is a bindable property.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

[XtraSerializableProperty]
public DefaultBoolean AllowGroup { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumeration value that specifies whether end-users can group data by the current column.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

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.

End-users can group data or remove grouping applied in the grid by tapping the corresponding item in a menu that appears when they touch and hold a column. If the grid’s GridControl.AllowGroup property is set to true, menu items related to grouping are available. Otherwise, end-users cannot group data.

Individual columns provide the AllowGroup 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 grouping data by values of specific columns.

If the AllowGroup property is set to ‘Default’, the capability to group data is controlled by the grid’s GridControl.AllowGroup property.

See Also