DHTMLX Docs & Samples Explorer

Index
dhtmlxtoolbar
API Methods

### addInput(id, pos, value, width)

Required library edition:
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);