The cardDeleteHandling property (string) enables/disables the built-in delete icon for Kanban cards and sets the default action.
DayPilot.Kanban.cardDeleteHandling"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
"Disabled"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"
<!-- ... -->
/>