We have updated Flexmonster Software License Agreement, effective as of September 30, 2025 (list of changes)
All documentation

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