Hi every one
I have issue with rich column sorting.
If I try to use the rich column sorting with rich column group component I cant sort the columns.
This is my sample code
<rich:dataTable value="#{productList}" var="cap> <f:facet name="header"> <rich:columnGroup> <rich:column > <h:outputText value="Product Name"/> </rich:column> <rich:column > <h:outputText value="Price"/> </rich:column> </rich:columnGroup> </f:facet> <rich:column sortBy="#{cap.productName}" > <h:outputText value="#{cap.productName}"/> </rich:column> <rich:column sortBy="#{cap.price}" > <h:outputText value="#{cap.price}"/> </rich:column> </rich:dataTable>
You should use <f:facet name="header"> inside column. Or you might use external sorting. See our livedemo for detail.