I have tried this but didn\'t work
Column imageColumn = new Column(new ImageCell()) {
@Override
public class ButtonImageCell extends ButtonCell{
@Override
public void render(com.google.gwt.cell.client.Cell.Context context,
String value, SafeHtmlBuilder sb) {
SafeHtml html = SafeHtmlUtils.fromTrustedString(new Image(value).toString());
sb.append(html);
}
}
in use:
final Column buttonImageCellTest = new Column(new ButtonImageCell()) {
@Override
public String getValue(ProxyObject row) {
//url to image
return row.getImageUrl();
}
};