The rows.add() method adds a new row as the last item at the top level.
DayPilot.Scheduler.rows.add(data);
dp.rows.add({ name: "Resource 10", id: 10 });