The eventMoveToPosition property (boolean) lets users drag an event to a specific vertical position within the target date cell. This is useful in combination with the cell stacking mode.
Declaration
DayPilot.Month.eventMoveToPositionDefault Value
falseNotes
When enabled, event moving can target a specific vertical slot inside the destination date cell.
This option is most useful together with the cell stacking mode.
Examples
JavaScript
const month = new DayPilot.Month("dp", {
eventMoveToPosition: true,
// ...
});
month.init();Angular
<daypilot-month [config]="config"></daypilot-month>config: DayPilot.MonthConfig = {
eventMoveToPosition: true,
// ...
};React
<DayPilotMonth
eventMoveToPosition={true}
{/* ... */}
/>Vue
<DayPilotMonth
:eventMoveToPosition="true"
<!-- ... -->
/>See Also
Cell Stacking Mode [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot