DHTMLX Docs & Samples Explorer

setCheckboxState(itemId, state)

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

sets checkbox's state (checked/unchecked)

  • itemId - the item's id
  • state - a new state (true|false)
    menu.setCheckboxState(itemId, state);