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
data- row data object using the same structure as items in DayPilot.Scheduler.resources
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
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot