The cardDeleteHandling property (string) enables/disables the built-in delete icon for Kanban cards and sets the default action.
Declaration
DayPilot.Kanban.cardDeleteHandlingPossible 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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot