DHTMLX Docs & Samples Explorer

addText(id, pos, text)

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

adds a text item to webbar

  • id - id of a text item
  • pos - position of a text item
  • text - text for a text item
    toolbar.addText(id, pos, text);