Function joinCellGroupsIntersectingAtAxis

  • Merges a target cell group with any cell groups it intersects with at a given row or column.

    Parameters

    • dataModel: DataModel

      data model of the grid.

    • regions: CellRegion[]

      list of cell regions.

    • axis: "row" | "column"

      row or column.

    • group: CellGroup

      the target cell group.

    Returns CellGroup

    a new merged cell group.