background: #eff0f1;
}
.v-table-generated-row {
- background: #dcdee0;
+ background: #dcdee0;
text-transform: uppercase;
font-size: 10px;
font-weight: bold;
text-shadow: #f3f5f8 0 1px 0;
line-height: normal;
}
+.v-table-generated-row .v-table-cell-content {
+ padding-top: 1px;
+ padding-bottom: 2px;
+}
.v-table-cell-content:last-child {
border-right-color: transparent;
}
TableCellElement td = DOM.createTD().cast();
td.setColSpan(colCount);
initCellWithWidget(w, align, style, sorted, td);
- td.getStyle().setHeight(getRowHeight(), Unit.PX);
}
private void addSpannedCell(UIDL rowUidl, String text, char align,
td.setColSpan(colCount);
initCellWithText(text, align, style, textIsHTML, sorted,
description, td);
- td.getStyle().setHeight(getRowHeight(), Unit.PX);
}
@Override
*
* Row generators can be used for e.g. summary rows or grouping of items.
*/
- public interface RowGenerator {
+ public interface RowGenerator extends Serializable {
/**
* Called for every row that is painted in the Table. Returning a
* GeneratedRow object will cause the row to be painted based on the
public GeneratedRow generateRow(Table table, Object itemId);
}
- public static class GeneratedRow {
+ public static class GeneratedRow implements Serializable {
private boolean htmlContentAllowed = false;
private boolean spanColumns = false;
private String[] text = null;