DHTMLX Docs & Samples Explorer

setIcon(icon)

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

sets an item's icon (header icon)

  • icon - filepath
dhxAcc.cells(id).setIcon("path/to/file.gif");