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

setItemText

sets a text for an item

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

Parameters

itemIdstring|numberthe item's id
textstringa new text

Example

myMenu.setItemText(itemId, "text");

Back to top