Master Detail in TreeTable

Is it possible to display a master/detail relationship in a TreeTable ?

I have an entity A that has 3 properties and another entity B that has a composition relation ship to A.
I would like to display the 3 ‘A’ properties in a row and be able to click on that row and display the ‘B’ properties below it in the grid, like a normal treetable. The entities are not self referential .\

Thx
Eric

I think the simplest thing is to create a proxy entity (DTO entity) for this.
Make it self-referential which is the native script for the TreeTable.
And on-screen aggregate the data into a TreeTable container yourself. By collecting the necessary data from entity A and B as proxy entity instances for TreeTable.

Thanks, I’ll give that a go. Is it possible to use fragments as grid cells ?

Using a fragment in a table is a bad idea.
But using composite components shouldn’t be a problem.

https://docs.jmix.io/jmix/ui/custom-components/composite-components.html