DHTMLX Docs & Samples Explorer

setHotKey(itemId, hkey)

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

sets menu hot-key (just text label)

  • itemId - menu item's id
  • hkey - hot-key text (string)
    menu.setHotKey(itemId, hkey);