Vaadin 8 Grid and Entities with OneToMany and OneToOne relationships

i have a grid that is init with a beanType like Grid grid = new Grid<>();

Person has a one to one and a one to many relationships to other objects.
My solution so far:

addColumn((Person person) ->{ return person.getGroup().getGroupName()},new TextRenderer()); What is the best way to show this relationship information in the grid ?

If your Group object overrides the toString() method with “return getGroupName()”,

addColumn(Person::getGroup()) should do the trick.

Is there any other way to do this ? Or is this the way how to hande relationships in the Grid.

I am looking for something like in Vaaind 7

ds.addNestedContainerBean("group") as shown in this vaadin blog