The parent() method returns the parent of a JavaScript Scheduler row object in the resource tree hierarchy.
DayPilot.Row.parent();
A DayPilot.Row object representing the parent node. If the row doesn't have a parent, null
is returned.
const parentId = scheduler.rows.find("A")?.parent()?.id;