The cards.find() method returns the Kanban card with the specified ID.
DayPilot.Kanban.cards.find(id);
id
(string | number) - id of the card to be found
Card object or null.
const card = kanban.cards.find(1);
card.data.name = "Task 1";
kanban.cards.update(card);