// Rowspan selection
final TextBox rowSpanBox = new TextBox();
rowSpanBox.setText("1");
rowSpanBox.setWidth("50px");
form.addLabeledWidget("RowSpan:", rowSpanBox);
// Add button to set the spans
{
Button button = new Button("Set row/colspan", new ClickHandler() {
public void onClick(ClickEvent event) {