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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot