The children() method returns an array of child row objects (DayPilot.Row) in the tree hierarchy of JavaScript Scheduler rows.
DayPilot.Row.children()Returns an array of DayPilot.Row objects.
const children = scheduler.rows.find("A")?.children();Resource Tree [doc.daypilot.org]