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

setHotKey

sets menu hot-key (just text label)

void setHotKey(string|number itemId,string hkey);

Parameters

itemIdstring|numbermenu item's id
hkeystringhot-key text

Example

myMenu.setHotKey(itemId, "hkey");

Back to top