@Override public void render(Renderer r) throws IOException { r.print("<tr"); if (mId != null) { r.print(" id=\"" + mId + "\""); } if (mStyle != null) { r.print(" class=\"" + mStyle + "\""); } r.println(">"); super.render(r); r.println("</tr>"); }
@Override public void render(Renderer r) throws IOException { r.println("<thead>"); r.println("<tr>"); for (Column c : mColumns) { String title = ""; if (c.hint != null) { title = " title=\"" + c.hint + "\""; } r.println("<th" + title + ">" + c.title + "</th>"); } r.println("</tr>"); r.println("</thead>"); }
@Override public void render(Renderer r) throws IOException { String tblCls = mStyles; if (0 != (mTableFlags & FLAG_SORT)) { tblCls += " tablesorter"; } if (0 != (mTableFlags & FLAG_DND)) { tblCls += " tablednd"; } if (0 != (mTableFlags & FLAG_COL_RESIZE)) { tblCls += " colResizable"; } r.println("<table class=\"" + tblCls + "\">"); super.render(r); r.println("</table>"); }
@Override public void render(Renderer r) throws IOException { r.println("<tbody>"); super.render(r); r.println("</tbody>"); }