Hey @Schteevynn,
I use nestedTable[mainTable.selectedDataIndex].selectedRow. To make sure it doesn't break when user clicks on another row of the main table, I have a collapse row event every time a different row in the main table is selected, this ensures the expanded row is only for the main table's selected row