DHTMLX Docs & Samples Explorer

setItemEnabled(itemId)

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

enables an item

  • itemId - item's id to enable
  • state - true|false
    menu.setItemEnabled(itemId);