DayPilot.Kanban.cardDeleteHandling

The cardDeleteHandling property (string) enables/disables the built-in delete icon for Kanban cards and sets the default action.

Declaration

DayPilot.Kanban.cardDeleteHandling

Possible Values

  • "Disabled" - card deleting will be disabled, no delete icon is displayed

  • "Update" - card deleting will be enabled, delete icon will appear in the upper-right corner of the card, the card will be removed from the UI and the card list on click

Default Value

"Disabled"

Examples

JavaScript

const kanban = new DayPilot.Kanban("dp", {
  cardDeleteHandling: "Disabled",
  // ...
});
kanban.init();

Angular

<daypilot-kanban [config]="config"></daypilot-kanban>
config: DayPilot.KanbanConfig = {
  cardDeleteHandling: "Disabled",
  // ...
};

React

<DayPilotKanban
  cardDeleteHandling="Disabled"
  {/* ... */}
/>

Vue

<DayPilotKanban
  cardDeleteHandling="Disabled"
  <!-- ... -->
/>

See Also

DayPilot.Kanban Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript