All documentation
  • API Reference for older versions
  • getSelectedCell

    getSelectedCell(): CellDataObject | Array of CellDataObjects

    [starting from version: 1.4]

    Returns information about the selected cell/cells.

    Returns

    CellDataObject which contains information about the selected cell. If multiple cells are selected, getSelectedCell returns an array of CellDataObjects.

    Example

    pivot.getSelectedCell();

    Open the example on JSFiddle.

    See also

    getCell
    removeSelection