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

setCheck

sets the state of a node's checkbox

void setCheck(string|number id,string|number state);

Parameters

idstring|numbertarget node's id
statestring|numbercheckbox's state (0|1|"unsure")

Example

myTree.setCheck(id,state);

Related samples

See also
Back to top