DHTMLX Docs & Samples Explorer

setCheck(itemId,state)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxtree.js

set state of node's checkbox

  • itemId - target node id
  • state - checkbox state (0/1/“unsure”)