@JsfRenderer(type = "org.richfaces.ColumnGroupRenderer", family = AbstractColumnGroup.COMPONENT_FAMILY)
public class ColumnGroupRenderer extends AbstractTableBaseRenderer {
public void encodeRow(ResponseWriter writer, FacesContext facesContext, RowHolderBase holder) throws IOException {
RowHolder rowHolder = (RowHolder) holder;
AbstractColumnGroup row = (AbstractColumnGroup) rowHolder.getRow();
rowHolder.setRowStart(true);
Iterator<UIComponent> components = row.columns();
int columnNumber = 0;
while (components.hasNext()) {
UIColumn column = (UIColumn) components.next();
if (column.isRendered()) {
column.getAttributes().put(COLUMN_CLASS, getColumnClass(rowHolder, columnNumber));