How to add images in Vaadin 8 Grid in Respective Rows
Here goes the Code for it
Column<Company, ThemeResource> imageColumn = grid.addColumn( p -> new ThemeResource(p.getName() + ".jpg"), new ImageRenderer<Company>()).setCaption("Image");
Set the name of Image as you have set in the List while Populating your Pojo.
Comments
Post a Comment