collapse

collapses a tree item by id

void collapse(string id);

Parameters

idstringthe id of an item to collapse

Example

tree.collapse("history");

Related samples

See also
Back to top