DayPilot.Kanban.cards.update

The cards.update() method refreshes the Kanban UI to display updated card properties.

Declaration

DayPilot.Kanban.cards.update(card);

Parameters

  • card (DayPilot.Card) - updated card object

Notes

Modify the card properties first and then call cards.update() to redraw the card using the current data.

Example

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

See Also

DayPilot.Kanban.cards.find()

DayPilot.Kanban Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript