[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Collapse]Grid View
   [Expand]Product Information
    Getting Started
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Expand]Focus and Navigation
    [Expand]Data Editing
    [Collapse]Data Shaping and Manipulation
     [Expand]Data Summaries
      Cell Merging
    [Expand]Data Formatting
    [Expand]Master-Detail Relationship
     Appearance Customization
    ASPxGridView Designer
   [Expand]Visual Elements
   [Expand]Member Tables
   [Expand]ASPxGridView - Animated Images
  [Expand]Tree List
  [Expand]Card View
  [Expand]Chart Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Controls
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Cell Merging

The ASPxGridView can automatically merge adjacent cells with the same values. Since cell merging is disabled by default, you would need to set the GridViewDataColumnSettings.AllowCellMerge property to true to allow the grid to merge cells, or control cell merging availability for specific columns using the GridViewDataColumnSettings.AllowCellMerge property.

Expanded Custom Cell Merging

Once cell merging is enabled, you can handle the ASPxGridView.CustomCellMerge event to implement cell merging manually. The event fires for every adjacent pair of cells in a column. If the cells are merged, the resulting cell value is equal to the value of the first cell.

View the Demo

To see this feature in action, refer to the following online demo: Grid - Cells Merging

Expanded Cell Merging Limitations

The cell merging feature is not supported in adaptive modes.

When cell merging is enabled, the following limitations are applied to the grid features.

Expanded See Also

Is this topic helpful?​​​​​​​