DHTMLX Docs & Samples Explorer

addInput(id, pos, value, width)

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

adds an input item to webbar

  • id - id of an input item
  • pos - position of an input item
  • value - value (text) in an input item by the default
  • width - width of an input item (px)
    toolbar.addInput(id, pos, value, width);