Reputation: 315
Is it possible to achieve grouped headers in RichFaces ExtendedDataTable, as it does not support rowbreakbefore.
I have tried the following
<rich:extendedDataTable id="pivotTable" rowIndexVar="rowIndex">
<c:forEach items="#{richPivotBean.headerRows}" var="columnObject">
<rich:column breakrowbefore="#{columnobject.startone}"
colspan="#{columnobject.colspan}" rowspan="#{columnobject.rowspan}">
<f:facet name="header">
<h:outputText value="#{columnobject.colheadertext}" />
</f:facet>
</rich:column>
</c:forEach>
</rich:extendedDataTable>
Upvotes: 0
Views: 636
Reputation: 1828
I'm afraid the answer is a simple "no", you need to use rich:dataTable to get this functionality. Why are you using extendedDataTable rather than dataTable, normally this would be for scrolling or row selection but I see no evidence of this in your code.
Upvotes: 1