DHTMLX Docs & Samples Explorer

setIcon(iconEnabled, iconDisabled)

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

sets window's header icon

  • iconEnabled - url to the icon for the enabled state
  • iconDisabled - url to the icon for the disabled state
    dhxWins.window(id).setIcon(iconEnabled, iconDisabled);