Check documentation for the latest version 6.0 of dhtmlxSuite addInput DHTMLX Docs

addInput

adds an input item to the toolbar

void addInput(string|number id,number pos,string value,number width);

Parameters

idstring|numberid of an input item
posnumberposition of an input item
valuestringvalue (text) in an input item by default
widthnumberwidth of an input item (px)

Example

myToolbar.addInput(id, pos, value, width);

Back to top