GridViewDataColumnSettings.AllowGroup Property
Specifies whether data grouping by the column’s values is enabled.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default |
|
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Object Type | Path to AllowGroup |
---|---|
GridViewDataColumn |
|
Remarks
Specify the AllowGroup
property to control grouping at the column level.
If the column’s AllowGroup
property is set to Default
, the control determines the column’s behavior at the control level based on the ASPxGridViewBehaviorSettings.AllowGroup property value.
For more information on grouping in the grid, refer to the following topic: ASPxGridView - Group Data.
<dx:ASPxGridView ID="grid" runat="server">
<Columns>
<dx:GridViewDataTextColumn FieldName="ContactName" VisibleIndex="0" />
<dx:GridViewDataTextColumn FieldName="CompanyName" VisibleIndex="1">
<Settings AllowGroup="False" />
</dx:GridViewDataTextColumn>
<%--...--%>
</Columns>
<Settings ShowGroupPanel="true" />
</dx:ASPxGridView>