Skip to main content

expand()

expands a tree item by id

expand(id: Id): void;

Parameters:

id: string | number - the id of an item to expand

Example

tree.expand("history");

Related sample: Tree. Expand Item