The overrideWheelScrolling property (boolean) lets you override the default wheel scrolling handler in the JavaScript Scheduler.
Declaration
DayPilot.Scheduler.overrideWheelScrollingDefault Value
falseNotes
Instead of the default wheel delta, which may be different in different browsers, the Scheduler uses custom fixed-step scrolling.
The step size is set using DayPilot.Scheduler.scrollStep or DayPilot.Scheduler.eventHeight if
scrollStepis not specified.
Examples
JavaScript
const scheduler = new DayPilot.Scheduler("dp", {
overrideWheelScrolling: true,
// ...
});
scheduler.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
overrideWheelScrolling: true,
// ...
};React
<DayPilotScheduler
overrideWheelScrolling={true}
{/* ... */}
/>Vue
<DayPilotScheduler
:overrideWheelScrolling="true"
<!-- ... -->
/>See Also
DayPilot.Scheduler.eventHeight
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot