DayPilot.Kanban.onCardDoubleClicked

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.

Declaration

DayPilot.Kanban.onCardDoubleClicked(args)

Parameters

  • args.card (DayPilot.Card object) - clicked card

Notes

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.

Examples

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);
};

See Also

DayPilot.Kanban.cardDoubleClickHandling

DayPilot.Kanban.onCardDoubleClick

DayPilot.Kanban Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript