☝️Small business or a startup? See if you qualify for our special offer.
+
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