DetailMergeManager Class
File
wijmo.grid.detail.js
Module
wijmo.grid.detail
Base Class
MergeManager

Merge manager class used by the FlexGridDetailProvider class.

The DetailMergeManager merges detail cells (cells in a DetailRow) into a single detail cell that spans all grid columns.

Constructor

Methods

Constructor

constructor

constructor(grid: FlexGrid): DetailMergeManager

Initializes a new instance of a DetailMergeManager class.

Parameters
  • grid: FlexGrid

    Grid that owns this merge manager.

Returns
DetailMergeManager

Methods

getMergedRange

getMergedRange(p: GridPanel, r: number, c: number, clip?: boolean): CellRange

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.

  • clip: boolean Optional

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

Returns
CellRange