// Get the common style names.
Style style = getTable().getResources().style();
String className = isBuildingFooter() ? style.footer() : style.header();
String sortableStyle = " " + style.sortableHeader();
String sortedStyle =
" " + (isSortAscending ? style.sortedHeaderAscending() : style.sortedHeaderDescending());
// Setup the first column.
Header<?> prevHeader = getHeader(0);
Column<T, ?> column = getTable().getColumn(0);
int prevColspan = 1;