Check documentation for the latest version of dhtmlxSuite setItemText DHTMLX Docs

setItemText

sets a text for an item

void setItemText(string|number itemId,string text);
itemIdstring|numberthe item's id
textstringa new text

Example

myMenu.setItemText(itemId, "text");

Back to top