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.eventMoveSkipNonBusinessDefault Value
falseExamples
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]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot