DayPilot.Scheduler.events.scrollIntoView

The events.scrollIntoView() method finds the specified event and changes the Scheduler viewport to make sure the event is visible.

You can get the target DayPilot.Event object using events.find().

Declaration

DayPilot.Scheduler.events.scrollIntoView(e);

Parameters

Example

var e = dp.events.find("123");
dp.events.scrollIntoView(e);