The events.scrollIntoView() method finds the specified event and scrolls the Scheduler so the event is visible.
You can get the target DayPilot.Event object using DayPilot.Scheduler.events.find().
DayPilot.Scheduler.events.scrollIntoView(e[, options]);e (DayPilot.Event) - target item to display
options (object) - additional options (available since 2025.4.6726)
The options object supports the following properties:
options.animation - animation type: "none", "fast", "normal", "slow", or "linear"; the default value is "fast"
options.position - target position of date within the viewport: "left", "middle", or "right"; the default value is "left"
const e = dp.events.find("123");
dp.events.scrollIntoView(e, { animation: "none" });