DayPilot.Scheduler.zoomPosition

The zoomPosition property (string) specifies the viewport position that will be used as a reference date when switching the zoom level of the Scheduler. The Scheduler will try to keep the position of this date at the same position after the zoom change.

Available since 2019.2.3860.

Possible Values

  • "left"
  • "middle"
  • "right"

Default Value

"left"

Example

dp.zoomPosition = "middle";