The cardMoveHandling property (string) enables or disables drag-and-drop card moving and sets the default drop action in the Kanban board.
Declaration
DayPilot.Kanban.cardMoveHandlingPossible Values
"Disabled"- card moving is disabled."Update"- card moving is enabled and the client-side card position is updated after drop.
Default Value
"Update"Examples
JavaScript
const kanban = new DayPilot.Kanban("dp", {
cardMoveHandling: "Disabled",
// ...
});
kanban.init();Angular
<daypilot-kanban [config]="config"></daypilot-kanban>config: DayPilot.KanbanConfig = {
cardMoveHandling: "Disabled",
// ...
};React
<DayPilotKanban
cardMoveHandling="Disabled"
{/* ... */}
/>Vue
<DayPilotKanban
cardMoveHandling="Disabled"
<!-- ... -->
/>See Also
Card Moving [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot