DHTMLX Docs & Samples Explorer

setItemDisabled(itemId)

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

disables an item

  • itemId - item's id to disable
menu.setItemDisabled(itemId);

See also: