DayPilot.Scheduler.watchWidthChanges

The watchWidthChanges property (boolean) enables auto-detection of scheduler width changes (resulting from DOM changes - window size changes are always detected). If a change is detected the scheduler UI is updated accordingly and onScroll event is fired (if applicable).

Default Value

true

Example

dp.watchWidthChanges = false;