Skip to main content
Tab

ASPxGridViewBehaviorSettings.AllowGroup Property

Specifis whether data grouping is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool AllowGroup { get; set; }

Property Value

Type Default Description
Boolean true

true to enable data grouping; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowGroup
ASPxGridView
.SettingsBehavior .AllowGroup
GridViewProperties
.SettingsBehavior .AllowGroup

Remarks

ASPxGridView allows you to group its data by multiple columns. A user can group grid data if the ShowGroupPanel property is set to true.

Use the GridViewDataColumnSettings.AllowGroup property to control grouping availability at the column level.

Set the AllowGroup property to false to disable the grouping functionality.

For more information on grouping in the grid, refer to the following topic: ASPxGridView - Group Data.

Run Demo: ASPxGridView - Grouping Data

<dx:ASPxGridView ID="grid" runat="server">
    <SettingsBehavior AllowGroup="false">
    <%--...--%>
</dx:ASPxGridView>
See Also