The rows.add() method adds a new row to the JavaScript Scheduler component as the last top-level item.
DayPilot.Scheduler.rows.add(data)data - row data object using the same structure as items in DayPilot.Scheduler.resources
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.
dp.rows.add({
name: "Resource 10",
id: 10,
});