expandAll([index])

Class: Tree.

Description:

Expands all items or a specified item and all if its children. If argument is not supplied, root default.

Parameters:

Name Type Default Description

[index]

Array.<number>

[0]

Index of an item to expand with all children items. If omitted, all items will be expended.

Returns:

Returns this Tree component for method chaining.

Type: Tree