Example #1
0
 private void writeRow(Writer out, Object rowKey, boolean writeTr) throws IOException {
   if (writeTr) out.write("<tr class='" + bodyTRStyleClass + "'>");
   for (Iterator itr = this.group.unGroupedColumns(); itr.hasNext(); ) {
     Column column = (Column) itr.next();
     wirteCell(out, column, getDataTable().getData(rowKey, column.getKey()), 1);
   }
   out.write("</tr>");
 }
Example #2
0
 private void writeGroupCell(Writer out) throws IOException {
   if (parent != null) {
     wirteCell(out, group.getGroupColumn(), groupKey, getRowSpan());
   }
 }