DayPilot.Scheduler.keyboard.focusCell

The keyboard.focusCell() methods sets the keyboard focus of the JavaScript Scheduler to the specified cell.

If the cell is not found, it throws an exception.

Available since version 2021.3.5070.

Declaration

DayPilot.Scheduler.keyboard.focusCell(start, resource);

Parameters

  • start (DayPilot.Date or string) - the point in time that specifies the horizontal position of the cell (it can be anywhere in the cell)
  • resource (number or string) - the id of a resource that specifies the vertical position of the cell