Check documentation for the latest version of dhtmlxSuite unselectItem DHTMLX Docs

unselectItem

unselects the item, if it's selected

void unselectItem(string|number id);
idstring|numberthe item's id (an array of ids, if multiselect enabled)

Example

myTreeView.unselectItem("2");
 
// if multiselect is enabled
myTreeView.unselectItem(["2", "3", "5"]);

See also
Back to top