DayPilot.Kanban.cards.find

The cards.find() method returns the Kanban card with the specified ID.

Declaration

DayPilot.Kanban.cards.find(id);

Parameters

  • id (string | number) - id of the card to be found 

Return Value

Card object or null.

Example

const card = kanban.cards.find(1);
card.data.name = "Task 1";
kanban.cards.update(card);