The scrollStep property (number) specifies the custom scroll step size, in pixels, when DayPilot.Scheduler.overrideWheelScrolling is enabled.
Declaration
DayPilot.Scheduler.scrollStepDefault Value
nullNotes
Since version 2018.2.3300, a non-null value also overrides the scroll step used for the row header, even when DayPilot.Scheduler.overrideWheelScrolling is set to false.
If not specified, the eventHeight value is used.
Examples
JavaScript
const dp = new DayPilot.Scheduler("dp", {
scrollStep: 30,
// ...
});
dp.init();Angular
<daypilot-scheduler [config]="config"></daypilot-scheduler>config: DayPilot.SchedulerConfig = {
scrollStep: 30,
// ...
};React
<DayPilotScheduler
scrollStep={30}
{/* ... */}
/>Vue
<DayPilotScheduler
:scrollStep="30"
<!-- ... -->
/>See Also
DayPilot.Scheduler.overrideWheelScrolling
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot