The selectTimeRange() method selects a Scheduler time range programmatically.
DayPilot.Scheduler.selectTimeRange(start, end, resource[, dontFireEvent]);start (DayPilot.Date or string) - selection start as a DayPilot.Date instance or an ISO string
end (DayPilot.Date or string) - selection end as a DayPilot.Date instance or an ISO string
resource (string or number) - selection resource ID
dontFireEvent (boolean) - optional flag that prevents onTimeRangeSelect and onTimeRangeSelected from firing when set to true
dp.selectTimeRange("2019-11-01T00:00:00", "2019-11-03T00:00:00", "A");