The scrollToResource() method sets the Scheduler vertical scrollbar position to the specified resource.
Using a resource ID:
DayPilot.Scheduler.scrollToResource(id);Using a DayPilot.Row object:
DayPilot.Scheduler.scrollToResource(row);id (string | number) - resource ID
row (DayPilot.Row) - DayPilot.Row instance for the target resource
You can identify the target resource either by its ID or by passing a DayPilot.Row object.
dp.scrollToResource("1");