DHTMLX Docs & Samples Explorer

setItemText(itemId,newLabel,newTooltip)

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

set new node text (HTML allowed)

  • itemId - id of node
  • newLabel - node text
  • newTooltip - (optional)tooltip for the node