The keyboard.resetFocus() method resets the keyboard focus in the JavaScript Scheduler.
The focus is set to the upper-left corner of the current viewport. The target is resolved according to the internal rules and can be a cell or an event.
If the focus is not active yet, calling this method activates it.
Available since 2021.3.5081.
DayPilot.Scheduler.keyboard.resetFocus();const dp = new DayPilot.Scheduler("dp", {
// ...
});
dp.init();
dp.keyboard.resetFocus();Keyboard [doc.daypilot.org]
DayPilot.Scheduler.keyboard.move()