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

unselectItem

unselects the item, if it's selected

void unselectItem(string|number id);

Parameters

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