DayPilot.Scheduler.keyboard.resetFocus

The keyboard.resetFocus() method resets the keyboard focus of 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.

Declaration

DayPilot.Scheduler.keyboard.resetFocus();