DayPilot.Month.eventMoveToPosition

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.eventMoveToPosition

Default Value

false

Notes

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]

DayPilot.Month Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript