Check documentation for the latest version of dhtmlxSuite setCheck DHTMLX Docs

setCheck

sets the state of a node's checkbox

void setCheck(string|number id,string|number state);
idstring|numbertarget node's id
statestring|numbercheckbox's state (0|1|"unsure")

Example

myTree.setCheck(id,state);

Related samples

See also
Back to top