Check documentation for the latest version 6.0 of dhtmlxSuite closeItem DHTMLX Docs

closeItem

collapses an item

void closeItem(string|number id);

Parameters

idstring|numberthe items' id

Example

myTreeView.closeItem("3");

See also
Back to top