ASPxGridViewBehaviorSettings.MergeGroupsMode Property
Specifies whether merged grouping is enabled.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
[DefaultValue(GridViewMergeGroupsMode.Disabled)]
public GridViewMergeGroupsMode MergeGroupsMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
GridViewMergeGroupsMode | Disabled | One of the GridViewMergeGroupsMode enumeration values. |
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 MergeGroupsMode |
---|---|
ASPxGridView |
|
GridViewProperties |
|
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>
Online Demos
See Also