The children() method returns an array of immediate child row objects (DayPilot.Row) in the tree hierarchy of JavaScript Scheduler rows.
Available in DayPilot Lite for JavaScript since version 2026.4.899.
Declaration
DayPilot.Row.children()Return Value
Returns an array of DayPilot.Row objects.
Notes
The result includes immediate children hidden by a collapsed ancestor. It does not flatten all descendants. A leaf resource returns an empty array. In Lite, the children must already be present in the supplied resource data; this method does not load them on demand.
Example
const children = scheduler.rows.find("A")?.children();See Also
Resource Tree [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot