I want to add an image to a cell in CellTable. After reading the documentation, this is what I did,
Column<Contact, String> imageColumn = new Column<Contact, String>(new ImageCell()) { @Override public String getValue(Contact object) { return "contact.jpg"; } }; table.addColumn(imageColumn, "");
Well, now the table has an empty column and there is no image in it. Am I something wrong here? Any suggestion is welcome. Thanks.
source share