Decorating list items in grid

I set a list of items in my grid. It shows like this picture. But i just want to see those first names one by one .How can i do this ,Any idea?
Or if there any component please help me out. I am a new learner.
Thanks in advance.

17549762.png

Hi!

You can implement a method which takes the team object as a parameter, and returns the list of names joined into a single string. Then pass this method to addColumn.

Maybe a lambda function similar to this would work for your case:

grid.addColumn(team -> team.getPlayers().stream().map(Player::getName).collect(Collectors.joining(", "));