use of org.eclipse.scout.rt.server.admin.html.widget.table.HtmlTable in project scout.rt by eclipse.
the class SessionsView method renderSessionTable.
protected void renderSessionTable(HtmlComponent p) {
HtmlTable table1 = new HtmlTable(p, "table1", m_table1SortInfo);
table1.startTable(1, 0, 3);
renderSessionTableHeader(table1);
SessionInspector validSelection = null;
SessionInspector[] sorted = getSortedSessions();
for (int i = sorted.length - 1; i >= 0; i--) {
if (sorted[i] == m_selectedSession) {
validSelection = m_selectedSession;
}
VirtualRow vrow = table1.addVirtualRow();
renderSessionRow(vrow, i + 1, sorted[i]);
}
table1.appendVirtualRows();
m_selectedSession = validSelection;
table1.endTable();
p.append(table1);
}
Aggregations