expandAllData(withAllChildren: Boolean)

Expands all nodes and performs the drill-down of all hierarchies in the slice on the grid and on charts. All collapsed or drilled-up nodes will become expanded or drilled-down, respectively.

Parameters

Name Type Description
withAllChildren Boolean optional Defines whether to drill down all levels of all hierarchies or not. Set this property to false to expand all nodes and not to drill down hierarchies. Default value is true.

Examples

Expands all nodes and drills down all hierarchies in the slice.

webdatarocks.expandAllData();

Expands all nodes without drilling down the hierarchies in the slice.

webdatarocks.expandAllData(false);

Check out the CodePen example.

More information