DayPilot.Scheduler.zoom.setActive

The zoom.setActive() method changes the current Scheduler zoom level. The zoom levels need to be defined using DayPilot.Scheduler.zoomLevels property.

This method can be called before init().

Available since 2019.2.3860.

Declaration

DayPilot.Scheduler.zoom.setActive(index);

Parameters

  • index - index of the zoom level to be set

Example

dp.zoom.setActive(0);

See Also