Back to Devexpress

ASPxGridViewBehaviorSettings.AllowCellMerge Property

aspnet-devexpress-dot-web-dot-aspxgridviewbehaviorsettings-dc78d484.md

latest2.6 KB
Original Source

ASPxGridViewBehaviorSettings.AllowCellMerge Property

Specifies if cell merging is allowed.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool AllowCellMerge { get; set; }
vb
<DefaultValue(False)>
Public Property AllowCellMerge As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true, to allow cell merging; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to AllowCellMerge
ASPxGridView

.SettingsBehavior .AllowCellMerge

| | GridViewProperties |

.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.

Note

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

Online Demo

Grid - Cells Merging

See Also

AllowCellMerge

CustomCellMerge

Merge Data Cells

Online video: ASPxGridView - Cell Merging

Grid View

ASPxGridViewBehaviorSettings Class

ASPxGridViewBehaviorSettings Members

DevExpress.Web Namespace