Vaadin grid problem

I have no idea why when i add my grid it looks only a |

Grid Class

My view

The Grid should contain the data bean, not the DTO. You then need to set the items with grid.setItems( getItems() )

List getitems() {

At least, this is the way I do it. I was following the tutorial, so it may not be what you need. But maybe setItems(…) is all that you need?

The width of the grid is probably 0px. I think you can addAndExpand the grid.

Does your SuppliesDetailsDTO contain getters and setters for the properties? Are you using Lombok?


It only grow when i add some value inside, before some list with value keeps |