DHTMLX Docs & Samples Explorer

setItemText(itemId, text)

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

sets text for the item

  • itemId - the item's id
  • text - a new text
    menu.setItemText(itemId, text);