DayPilot.Calendar.columnMoveHandling

The columnMoveHandling property (string) enables drag and drop moving of calendar columns (in the resource calendar mode).

Available since 2022.3.5381.

Declaration

DayPilot.Calendar.columnMoveHandling

Possible Values

  • "Disabled" - column moving is disabled.

  • "Update" - updates the column order on the client side after the drag-and-drop operation.

Default Value

"Disabled"

Notes

This property applies to the resource calendar view.

Examples

JavaScript

const calendar = new DayPilot.Calendar("dp", {
  columnMoveHandling: "Update",
  // ...
});
calendar.init();

Angular

<daypilot-calendar [config]="config"></daypilot-calendar>
config: DayPilot.CalendarConfig = {
  columnMoveHandling: "Update",
  // ...
};

React

<DayPilotCalendar
  columnMoveHandling="Update"
  {/* ... */}
/>

Vue

<DayPilotCalendar
  columnMoveHandling="Update"
  <!-- ... -->
/>

See Also

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript