DayPilot.Kanban.onCardDoubleClick

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.

Declaration

DayPilot.Kanban.onCardDoubleClick(args)

Parameters

  • args.card (DayPilot.Card) - the card reference

  • args.preventDefault() - cancels the default action

Example

Kanban config:

onCardDoubleClick: (args) => {
  if (args.card.data.id === 3) {
    args.preventDefault();
  }
}