WarUI

Row spanning and merging of identical values

GRID-A07-F25P2baselinePlanned

`rowSpan` lets a cell span multiple rows. An automatic `mergeIdentical` mode merges consecutive equal values within a column. The feature behaves correctly with sorting, filtering and row virtualization, and keeps the merged value visible when it is partially scrolled out.

Planned. This page shows the specification from issue #184. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

An order lines grid with mergeIdentical on the Order # and Customer columns.

Expected behavior

Consecutive equal values merge, and merges re-form after a sort. A sticky label keeps the merged value visible at the viewport top.

Planned API surface

rowSpanmergeIdenticalmergeComparatorRowSpanParams

Acceptance criteria

  • Merges are recomputed after sort, filter and data updates. (pending)
  • A merged cell spanning beyond the rendered window is rendered at the correct height. (pending)
  • Selection of a merged cell is defined by a documented rule that selects the anchor row. (pending)
  • Merging is disabled automatically in variable-row-height mode, with a warning, if unsupported. (pending)