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

setSubChecked

changes the state of the node's checkbox and all children checkboxes

void setSubChecked(string|number id,boolean state);

Parameters

idstring|numbertarget node's id
statebooleancheckbox's state

Example

myTree.setSubChecked(id, state);

Related samples

See also
Back to top