The rows.addChild() method adds a new row to the JavaScript Scheduler (as the last child of the specified resource).
DayPilot.Scheduler.rows.add(parent, data);
dp.rows.addChild(9, { name: "Resource 10", id: 10 });