DayPilot.Menu hide() with Escape button
Answered: It is necessary to add the event handler globally (attach it to the document element). Attaching it to the menu element would only work after calling focus() , and you would also have to handle focus...
DayPilot