ASPxGridViewBehaviorSettings.MergeGroupsMode Property
Specifies whether merged grouping is enabled.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(GridViewMergeGroupsMode.Disabled)]
public GridViewMergeGroupsMode MergeGroupsMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Grid |
Disabled | One of the Grid |
Available values:
Name | Description |
---|---|
Disabled | Groups within the grid are not merged. |
Always | Groups within the grid are merged automatically. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Merge |
---|---|
ASPx |
|
Grid |
|
#Remarks
In the grid, you can implement merged grouping to allow users to group data by multiple columns at a time. To enable this behavior, set the MergeGroupsMode
property to Always
.
<dx:ASPxGridView ID="Grid" runat="server" >
<%--...--%>
<Settings ShowGroupPanel="true" />
<SettingsBehavior MergeGroupsMode="Always" AutoExpandAllGroups="true" />
</dx:ASPxGridView>