DayPilot.Scheduler.eventMoveSkipNonBusiness

The eventMoveSkipNonBusiness property (boolean) enables automatic event end adjustment during drag and drop event moving. The event end is extended by the non-business hours (visible or hidden) at the target location.

Declaration

DayPilot.Scheduler.eventMoveSkipNonBusiness

Default Value

false

Examples

JavaScript

const dp = new DayPilot.Scheduler("dp", {
  eventMoveSkipNonBusiness: true,
  // ...
});
dp.init();

Angular

<daypilot-scheduler [config]="config"></daypilot-scheduler>
config: DayPilot.SchedulerConfig = {
  eventMoveSkipNonBusiness: true,
  // ...
};

React

<DayPilotScheduler
  eventMoveSkipNonBusiness={true}
  {/* ... */}
/>

Vue

<DayPilotScheduler
  :eventMoveSkipNonBusiness="true"
  <!-- ... -->
/>

See Also

Event Moving [doc.daypilot.org]

Hiding Non-Business Hours [doc.daypilot.org]

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript