Need a special offer?Find out if your project fits.
+
All documentation
API reference
  • API Reference for older versions
  • collapseData

    collapseData(uniqueName: String)

    [starting from version: 1.6]

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

    Parameters

    Parameter/Type Description
    uniqueName
    String
    The unique name of the hierarchy to be collapsed.

    Example

    flexmonster.collapseData('Country');

    Try on JSFiddle.

    See also

    collapseAllData
    expandAllData
    expandData