GridControlBase.AllowGrouping Property

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

Namespace: DevExpress.UI.Xaml.Grid

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


public bool AllowGrouping { get; set; }
Public Property AllowGrouping As Boolean

Property Value

Type Description

true, to allow an end-user to group data; otherwise, false.


End-users can group data by dragging a column header to the group panel (requires the GridControlBase.ShowGroupPanel property to be set to true and the AllowGrouping property to be set to true).

Individual columns provide the GridColumnBase.AllowGrouping property, allowing the default behavior specified by the grid to be overridden. To learn more, see Grouping.


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

See Also