The events.focus() method moves native browser focus to the specified Scheduler event and scrolls it into the viewport if necessary.
DayPilot.Scheduler.events.focus(e)e (DayPilot.Event) - object to focus
You can get the event object using events.find().
The browser focus applied by events.focus() is different from the Scheduler keyboard focus.
const event = dp.events.find("123");
dp.events.focus(event);DayPilot.Scheduler.events.find()
Keyboard [doc.daypilot.org]