Skip to main content
A newer version of this page is available. .
Tab

ASPxGridViewBehaviorSettings.AllowCellMerge Property

Specifies if cell merging is allowed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(false)]
public bool AllowCellMerge { get; set; }

Property Value

Type Default Description
Boolean **false**

true, to allow cell merging; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to AllowCellMerge
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsBehavior.AllowCellMerge
ASP.NET Web Forms Controls ASPxGridView
.SettingsBehavior.AllowCellMerge
GridViewProperties
.SettingsBehavior.AllowCellMerge
GridViewSettings
.SettingsBehavior.AllowCellMerge
GridViewSettings<RowType>
.SettingsBehavior.AllowCellMerge
MVCxGridView
.SettingsBehavior.AllowCellMerge
MVCxGridViewProperties
.SettingsBehavior.AllowCellMerge

Remarks

Set the AllowCellMerge property to true, to allow a grid to automatically merge adjacent cells with the same values. You can control the cell merging availability for a particular column by using the GridViewDataColumnSettings.AllowCellMerge property.

CellMerging

Note

If the AllowCellMerge property is set to true, the GridViewStyles.AlternatingRow property is not in effect.

Online Demo

Grid - Cells Merging

See Also