DayPilot.Kanban.cardMoveHandling

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

Possible 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

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript