ResponseWriter writer, UIData uiData,
UIComponent component, Styles styles, int columnStyleIndex)
throws IOException {
if (isGroupedTable(uiData)) {
HtmlDataTable htmlDataTable = (HtmlDataTable) uiData;
List tableChildren = htmlDataTable.getChildren();
int first = htmlDataTable.getFirst();
int rowInfoIndex = htmlDataTable.getRowIndex() - first;
int columnInfoIndex = tableChildren.indexOf(component);
RowInfo rowInfo = (RowInfo) htmlDataTable.getTableContext().getRowInfos().get(rowInfoIndex);
ColumnInfo columnInfo = (ColumnInfo) rowInfo.getColumnInfos().get(columnInfoIndex);
if (!columnInfo.isRendered()) {
return;
}