Interaction guide

Merge data grid documentation

Show merge and unmerge.

What it means

Merge actions turn a range into one visual block and then restore it again.

When to use it

Use this when repeated labels should collapse into a single cell. Keep the page focused on merge and unmerge only.

Implementation notes

Start with `api.buildContextMenuConfig({ includeMerge: true })`. Keep the merge page paired with spanning so the selected block has something to merge.

Relevant API

Start with contextMenu.enabled, contextMenu.items, contextMenu.closeOnSelect, contextMenu.renderMenu, contextMenu.onOpen, contextMenu.onClose, contextMenu.onAction, contextMenu.handlers. Open the live API reference for types and defaults.