Table of contents

collapseData

collapseData(hierarchyName:String)

[starting from version: 1.6]

Collapses all nodes of the specified hierarchy. Please note, this method works only for CSV, OCSV and JSON data sources.

Example

flexmonster.collapseData('Country');

Try on JSFiddle.

See also

collapseAllData
expandAllData
expandData