DHTMLX Docs & Samples Explorer

getItemText(itemId)

Required library edition: This method works with any edition of DHTMLX library
Required library file: dhtmlxmenu_ext.js

returns item's text

  • itemId - the item's id
    var text = menu.getItemText(itemId);