We have updated Flexmonster Software License Agreement, effective as of September 30, 2025 (list of changes)
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