if there is no solution… Is there a way to show overlapping text with the title attribute? At the moment when I set grid.setWidth(“100%”) there are cells with cut off text and there is no way to see the hidden text except inspecting the html with firebug.
I get this to work by adding a ColumnGenerator() that returns a Label in HTML mode, overridding an existing column (announcement- bound from a container) as follows:
tableBulletin.addGeneratedColumn(“announcement”, new ColumnGenerator() {
private static final long serialVersionUID = -6366260307115844619L; @Override
public Object generateCell(Table source, Object itemId,
Object columnId) {
Label label = new Label((String) source.getItem(itemId)
.getItemProperty(columnId).getValue(), ContentMode.HTML);
return label;
}
});
tableBulletin width is set to 100% and I also make sure expandRatio on that colum is set to 1 as well (…
.setColumnExpandRatio(“announcement”, 1.0f); ) so that it takes up any available horizontal space after other columns rendered.