DHTMLX Docs & Samples Explorer

setItemColor(itemId,defaultColor,selectedColor)

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

set node text color

  • itemId - id of node
  • defaultColor - node color
  • selectedColor - selected node color