collapseCell(axisName: string, tuple: string[], measureName: string)
[starting from version 2.9.6]
Collapses a specific node on the grid and charts.
1) Collapse a specific node:
pivot.collapseCell("rows", ["Accessories", "Canada"]);
See the full code on JSFiddle.
2) Collapse a specific node for a specific measure:
pivot.collapseCell("rows", ["Canada"], "Price");