The overrideWheelScrolling property (boolean) lets you override the default wheel scrolling handler in the JavaScript Scheduler.
DayPilot.Scheduler.overrideWheelScrollingfalseInstead 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 scrollStep is not specified.
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"
<!-- ... -->
/>