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

getItemText

returns item's text

string getItemText(string|number itemId);

Parameters

itemIdstring|numberthe item's id

Returns

stringthe item's text

Example

var text = myMenu.getItemText(itemId);

Back to top