close

closes a tree item by id

void close(string id);

Deprecated

instead of it, you can use the collapse method:

tree.collapse("history");

Parameters

idstringthe id of an item to close

Example

tree.close("history");

See also
  • API
  • Back to top