Two things to know: the detail region takes a fixed height by default, so a nested grid with more rows than fit scrolls inside it rather than growing the row; and detail state is not part of the data, so sorting or filtering the outer grid does not move or close an open detail, it simply follows the master row wherever it now sits.