DHTMLX Docs & Samples Explorer

setItemText(itemId, text)

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

sets new text for an item

  • itemId - id of an item
  • text - new text for an item
    toolbar.setItemText(itemId, text);