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

setItemText

sets a new text for an item

void setItemText(string|number itemId,string text);

Parameters

itemIdstring|numberthe id of an item
textstringa new text for an item

Example

myToolbar.setItemText(itemId, text);

See also
Back to top