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

collapseAllData

[starting from version: 1.4]

Collapses all nodes and drills up all levels of all hierarchies on the grid and on charts. All expanded/drilled down nodes will be collapsed/drilled up on the grid and on charts.

Example

pivot.collapseAllData();

Try the example on JSFiddle.

See also

collapseData
expandAllData
expandData