DHTMLX Docs & Samples Explorer

setItemImage(itemId,image1,image2)

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

set item icons (mostly usefull for childless nodes)

  • itemId - id of node
  • image1 - node without children icon or closed node icon (if image2 specified)
  • image2 - open node icon (optional)