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.columnMoveHandlingPossible 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
Column Moving [doc.daypilot.org]
Resources View [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot