☝️Small business or a startup? See if you qualify for our special offer.
+
All documentation

cellclick

[starting from version: 2.3]

It is triggered when a cell is clicked on the grid.

Data passed to the handler

Parameter/TypeDescription
cell
CellDataObject
Contains information about the clicked cell.

Example

pivot.on('cellclick', function(cell) {
alert(
"Click on cell - row: " +
cell.rowIndex + ", column: " +
cell.columnIndex +
", label: " +
cell.label);
});

Open the example on JSFiddle.

See also

chartclick
on
off