The keyboard.focusEvent() method sets the keyboard focus of the JavaScript Scheduler to the specified event.
If the event is not found, it throws an exception.
Available since version 2021.3.5070.
DayPilot.Scheduler.keyboard.focusEvent(e);