DayPilot.Scheduler.rows.add

The rows.add() method adds a new row to the JavaScript Scheduler component as the last top-level item.

Declaration

DayPilot.Scheduler.rows.add(data)

Parameters

Notes

The new row is appended to the end of the top-level resource tree. Use the same object format as the DayPilot.Scheduler.resources array.

Example

dp.rows.add({
  name: "Resource 10",
  id: 10,
});

See Also

DayPilot.Scheduler.resources

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript