DayPilot.Scheduler.keyboard.focusEvent

The keyboard.focusEvent() method sets the keyboard focus of the JavaScript Scheduler to the specified event.

Available since 2021.3.5070.

Declaration

DayPilot.Scheduler.keyboard.focusEvent(e);

Parameters

Notes

If the event cannot be found, the method throws an exception.

Example

const event = dp.events.find("1");
dp.keyboard.focusEvent(event);

See Also

DayPilot.Scheduler.keyboard.focusCell()

DayPilot.Scheduler.keyboard.getFocus()

DayPilot.Scheduler.keyboard.move()

Keyboard Support [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript