I was created the grid in GWT
and set the attribute colspan for one row…
gridSample.setWidget(0, 0, new HTML("Can you improve this checklist? Please rank and submit your comments below"));
gridSample.getCellFormatter().getElement(0, 0).setAttribute("colspan", "4");
The colspan does not work for IE…
I’m assuming your using the
Gridclass. This class is not intended to be used with flexible column and rows, thus setting colspan is not supported. If you want to set colspan, use the classFlexTable. It does support colspan. In your case when usingFlexTableit looks:However, note that
FlexTableis much slower thenGrid. So if you have a large table this might be an issue.