open

opens a tree item by id

void open(string id);

Deprecated

instead of it, you can use the expand method:

tree.expand("history");

Parameters

idstringthe id of an item to open

Example

tree.open("history");

See also
Back to top