The rows.update() method updates the specified JavaScript Scheduler row.
DayPilot.Scheduler.rows.update(row);
row
(DayPilot.Row) - the row to be updated
You can get the DayPilot.Row
object using rows.find() method. After changing DayPilot.Row.data
(the source data object), call rows.update()
to apply the changes.
const row = dp.rows.find("A");
row.data.name = "Room A1";
dp.rows.update(row);