DHTMLX Docs & Samples Explorer

setItemImageDis(itemId, url)

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

sets an image for an item in disabled state

  • itemId - id of an item
  • url - url of an image
    toolbar.setItemImageDis(itemId, url);