Looks like GeneratedPropertyContainer does not exist in Vaadin 8.
How can we add a generated column to Vaadin 8 Grid? I appreciate if you can provide an example.
Looks like GeneratedPropertyContainer does not exist in Vaadin 8.
How can we add a generated column to Vaadin 8 Grid? I appreciate if you can provide an example.
A generated column would work like this:
If you pass the bean class to the constructure of Grid then it will add all properties as columns to the grid.
If you want to only have some properties as columns then don't pass the class to the constructor and add your columns manually like this:
If you want to add a generated column just add it with addColumn