Пример #1
0
 public ScTableRow addDataRow() {
   ScTableRow e = new ScTableRow();
   if (_rows.size() % 2 == 0) e.setHtmlClassForCells(DATA_TABLE_ODD_CLASS);
   else e.setHtmlClassForCells(DATA_TABLE_EVEN_CLASS);
   e.setAppendSpaceOnCells(true);
   return add(e);
 }
Пример #2
0
 public ScTableRow addFooterRow() {
   ScTableRow e = new ScTableRow();
   e.setHtmlClassForCells(DATA_TABLE_FOOTER_CLASS);
   e.setAppendSpaceOnCells(true);
   return add(e);
 }