Skip to main content

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.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

[XtraSerializableProperty]
public bool AllowGrouping { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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.

Note

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

See Also