final List excludedColumns = getExcludedColumns();
for (int j = 0; j < tableColumns.size(); j++) {
Column column = (Column) tableColumns.get(j);
if (!excludedColumns.contains(column.getName())) {
column.renderTableHeader(buffer, getContext());
if (j < tableColumns.size() - 1) {
buffer.append("\n");
}
}
}