DayPilot.Scheduler.watchWidthChanges

The watchWidthChanges property (boolean) enables automatic detection of dimension changes in the JavaScript Scheduler, resulting from DOM changes and window size alterations. If a change is detected, the scheduler UI is updated accordingly, and the onScroll event is fired, if applicable.

Turning off the detection may result in smoother animations of dimension changes, but it will then be necessary to manually fix the UI by calling show() once the animation is complete.

Default Value

true

Example

{
  watchWidthChanges: false,
  // ...
}