DayPilot.Kanban.onCardDeleted

Fired after the default event delete action.

Declaration

DayPilot.Kanban.onCardDeleted(args);

Parameters

  • args.card (DayPilot.Card object)

Example

<div id="dp"></div>

<script type="text/javascript">

    var dp = new DayPilot.Kanban("dp");

    // ...

    dp.cardDeleteHandling = "Update";
    dp.onCardDeleted = function(args) {
        dp.message(args.card.data.name + " deleted.");
    };
    dp.init();

</script>