I have rendered a custom cell which combines an image and text. It looks like this:
class ImageTextCell extends AbstractCell<String>
My question is how to add this cell into celltable/datagrid. I have tired this.
Column<Message, String> iconColumn = new Column<Message, String>(new ImageTextCell())
{
@Override
public String getValue(Message versionStatus) {
return ? // I dont know what to type here. How to return the ImageTextCell object }
};