DHTMLX Docs & Samples Explorer

disableItem(itemId)

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

disables a specified item

  • itemId - id of an item to disable
    toolbar.disableItem(itemId);