The rows.remove() method removes the specified JavaScript Scheduler row.

Declaration

DayPilot.Scheduler.rows.remove(row)

Parameters

  • row (DayPilot.Row | string | number) - row to remove; in addition to a DayPilot.Row object, the method also accepts the row ID

Notes

You can get a DayPilot.Row object using the rows.find() method.

Resource Trees

Removing a child removes it from its parent's children array. Removing a parent removes that resource and its entire subtree from the Scheduler. This does not delete matching items from scheduler.events.list; remove associated event records separately when that is part of your application's deletion policy. Nested removal is supported in Lite from version 2026.4.899 and in Pro.

Example

const row = scheduler.rows.find("A");
scheduler.rows.remove(row);

See Also

DayPilot.Scheduler.rows.find()

DayPilot.Scheduler Class

Availability

Availability of this API item in DayPilot editions:

ProductLitePro
DayPilot for JavaScript