List of usage examples for com.google.gwt.dom.client TableCellElement setPropertyInt
@Override
public void setPropertyInt(String name, int value)
From source file:com.vaadin.client.widget.escalator.FlyweightCell.java
License:Apache License
void setup(final CellIterator iterator) { currentIterator = iterator;// w ww. ja v a 2 s . co m if (iterator.areCellsAttached()) { final TableCellElement e = row.getElement().getCells().getItem(column); assert e != null : "Cell " + column + " for logical row " + row.getRow() + " doesn't exist in the DOM!"; e.setPropertyInt(COLSPAN_ATTR, 1); if (row.getColumnWidth(column) >= 0) { e.getStyle().setWidth(row.getColumnWidth(column), Unit.PX); } e.getStyle().clearDisplay(); setElement(e); } }