Log In
[Expand]Welcome to DevExpress .NET Documentation
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
   Getting Started
  [Expand]Chart Control
  [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
     Save and Restore Layout
    ASPxGridView Designer
   [Expand]Visual Elements
   [Expand]Member Tables
   [Expand]ASPxGridView - Animated Images
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Rich Text Editor
  [Expand]Image and Data Browsing
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Data Editors
  [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]Document Server
[Expand]Report Server
[Expand]eXpressApp Framework
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Cell Merging

The ASPxGridView can automatically merge adjacent cells with the same values. By default, cell merging is disabled. Set the GridViewDataColumnSettings.AllowCellMerge property to true to allow the grid to merge cells; or control cell merging availability for a particular column by using the GridViewDataColumnSettings.AllowCellMerge property.

Expanded Custom Cell Merging

When cell merging is allowed, 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 first cell value.

View the Demo

To see this feature in action, please 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?​​​​​​​