DHTMLX Docs & Samples Explorer

setIconSize(newWidth,newHeight,itemId)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxtree.js

set size of icons

  • newWidth - new icon width in pixels
  • newHeight - new icon height in pixels
  • itemId - item Id, if skipped set default value for all new icons, optional
tree.setIconSize('16px','16px');