Getting parent row id of a child row in tree grid

Is there a way to get the row id of the parent row of a child row in a tree grid?

Thank you.

You can use getParentId() method. Please find example here dhtmlx.com/docs/products/dht … _api2.html