Check documentation for the latest version of dhtmlxSuite closeItem DHTMLX Docs

closeItem

collapses an item

void closeItem(string|number id);
idstring|numberthe items' id

Example

myTreeView.closeItem("3");

See also
Back to top