The keyboard.resetFocus() method resets the keyboard focus in the JavaScript Scheduler:
The focus will be set to the upper-left corner of the current viewport. It will be resolved according to the internal rules - the target can be a cell or an event.
If the focus wasn't active yet, it will be activated.
Available since version 2021.3.5081.
DayPilot.Scheduler.keyboard.resetFocus();