DayPilot.Scheduler.rows.add

The rows.add() method adds a new row as the last item at the top level.

Declaration

DayPilot.Scheduler.rows.add(data);

Parameters

  • data - the resource object (see the format of resources array items)

Example

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