Check documentation for the latest version of dhtmlxSuite setItemText DHTMLX Docs

setItemText

sets an item's label text

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

Parameters

itemIdstring|numberthe id of an item
textstringa new text of an item's label

Example

myRibbon.setItemText(id,text);

Back to top