The onCardDoubleClicked event handler fires when the user double-clicks a card, after the default double-click action is performed. Double-click handling is disabled by default; enable it using DayPilot.Kanban.cardDoubleClickHandling.
Available since 2025.3.6607.
DayPilot.Kanban.onCardDoubleClicked(args)args.card (DayPilot.Card object) - clicked card
Use this handler for follow-up logic that should run only after the configured double-click behavior completes. If you need to cancel the action before it runs, use DayPilot.Kanban.onCardDoubleClick.
JavaScript
const dp = new DayPilot.Kanban("dp", {
cardDoubleClickHandling: "Enabled",
onCardDoubleClicked: (args) => {
console.log("Card double-clicked", args.card.data.id);
},
// ...
});
dp.init();Angular
<daypilot-kanban [config]="config"></daypilot-kanban>config: DayPilot.KanbanConfig = {
cardDoubleClickHandling: "Enabled",
onCardDoubleClicked: (args) => {
console.log("Card double-clicked", args.card.data.id);
},
// ...
};React
<DayPilotKanban
cardDoubleClickHandling="Enabled"
onCardDoubleClicked={onCardDoubleClicked}
{/* ... */}
/>const onCardDoubleClicked = (args) => {
console.log("Card double-clicked", args.card.data.id);
};Vue
<DayPilotKanban
cardDoubleClickHandling="Enabled"
@cardDoubleClicked="onCardDoubleClicked"
<!-- ... -->
/>const onCardDoubleClicked = (args) => {
console.log("Card double-clicked", args.card.data.id);
};DayPilot.Kanban.cardDoubleClickHandling