DayPilot.Scheduler.scrollStep

The scrollStep property (number) specifies the custom scroll step size, in pixels, when DayPilot.Scheduler.overrideWheelScrolling is enabled.

Declaration

DayPilot.Scheduler.scrollStep

Default Value

null

Notes

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

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript