The columnMoveHandling property (string) enables drag and drop moving of calendar columns (in the resource calendar mode).
Available since 2022.3.5381.
DayPilot.Calendar.columnMoveHandling"Disabled" - column moving is disabled.
"Update" - updates the column order on the client side after the drag-and-drop operation.
"Disabled"This property applies to the resource calendar view.
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"
<!-- ... -->
/>Column Moving [doc.daypilot.org]
Resources View [doc.daypilot.org]