The onCardDoubleClick event handler is fired by the Kanban component for card double clicks (before the default action). By default, the double click is disabled - you can enable it using cardDoubleClickHandling property.
Available since 2025.3.6607.
DayPilot.Kanban.onCardDoubleClick(args)
args.card
(DayPilot.Card) - the card reference
args.preventDefault()
- cancels the default action
Kanban config:
onCardDoubleClick: (args) => {
if (args.card.data.id === 3) {
args.preventDefault();
}
}