DayPilot.Row.parent

The parent() method returns the parent of a JavaScript Scheduler row object.

Declaration

DayPilot.Row.parent();

Return Value

DayPilot.Row object representing the parent node. If the row doesn't have any parent null is returned.

Example

var parentId = dp.rows.find("A").parent().id;