5.20231.904
wijmo.grid Class MergeManager Wijmo API Class

MergeManager Class

Defines the FlexGrid's cell merging behavior.

An instance of this class is automatically created and assigned to the grid's FlexGrid.mergeManager property to implement the grid's default merging behavior.

If you want to customize the default merging behavior, create a class that derives from MergeManager and override the getMergedRange method.

Heirarchy

Constructors

Methods

Constructors

constructor

Methods

getMergedRange

  • Gets a CellRange that specifies the merged extent of a cell in a GridPanel.

    Parameters

    • p: GridPanel

      The GridPanel that contains the range.

    • r: number

      The index of the row that contains the cell.

    • c: number

      The index of the column that contains the cell.

    • Optional clip: boolean

      Whether to clip the merged range to the grid's current view range.

    Returns CellRange | null

    A CellRange that specifies the merged range, or null if the cell is not merged.