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 aDayPilot.Rowobject, the method also accepts the row ID
Notes
You can get a DayPilot.Row object using the rows.find() method.
Example
const row = scheduler.rows.find("A");
scheduler.rows.remove(row);See Also
DayPilot.Scheduler.rows.find()
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot