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

addText

adds a text item to the toolbar

void addText(string|number id,number pos,string text);

Parameters

idstring|numberid of a text item
posnumberposition of a text item
textstringtext for a text item

Example

myToolbar.addText(id, pos, text);

Back to top