The requested page is not available for the requested platform. You are viewing the content for Default platform.

GridColumnBase.AllowGrouping Property

Gets or sets a value that specifies whether an end-user can group data by the current column. This is a dependency property.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v19.1.dll

Declaration

[XtraSerializableProperty]
public DefaultBoolean AllowGrouping { get; set; }
<XtraSerializableProperty>
Public Property AllowGrouping As DefaultBoolean

Property Value

Type Description
DefaultBoolean

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

Remarks

End-users are allowed to group data if the grid's GridControlBase.AllowGrouping property is set to true. Individual columns provide the AllowGrouping property, allowing the default behavior specified by the grid, to be overridden. Setting this property to 'True' or 'False' overrides the default behavior. This can be useful when it is required to prevent an end-user from grouping data by values of specific columns.

If the AllowGrouping property is set to 'Default', the ability to group data is controlled by the grid's GridControlBase.AllowGrouping property. In this instance, to obtain whether an end-user can group data by the current column, use the GridColumnBase.ActualAllowGrouping property.

To learn more, see Grouping.

Note

Data grouping requires data sorting to be performed. End-users can group data only if data sorting is allowed.

See Also