I'm trying desperately to have a sorted datatable, with selfSorted attribute setted to false, so without sort icons.
For the moment, the comportment of the table is as expected, but the icons stay rendered.
Here's a snippet of my code:
<rich:dataTable var="msearching" value="#{mCandidate.searchings}"
id="repeat" rows="10"
rowClasses="ligne_OFF-1, ligne_OFF-2"
onRowMouseOver="this.style.backgroundColor='#F8F06B';"
onRowMouseOut="this.style.backgroundColor='#{a4jSkin.rowBackgroundColor}';"
styleClass="table-recherches">
<rich:column styleClass="recherche" headerClass="enteteTable"
selfSorted="false" sortBy="#{msearching.creationTime}"
sortOrder="DESCENDING">
<f:facet name="header">
<div class="rechercheFloatHead">
Parametres de la recherche
</div>
</f:facet>
<h:outputText value="#{msearching.toString()}" />
</rich:column>
<rich:column styleClass="linkrecherche" headerClass="enteteTable">
<f:facet name="header">
<div class="linkrechercheHead"></div>
</f:facet>
<h:commandLink action="#{searchEngineBean.searchFromSavedQuery()}" value="Lancer la recherche" id="mSearching" >
<f:setPropertyActionListener target="#{searchEngineBean.currentSearching}" value="#{msearching}"/>
</h:commandLink>
</rich:column>
</rich:dataTable>
It seems to me that it is a richfaces bug, and I actually found some suspect lines in the source code (3.2.1.GA and svn's trunk), but I will be very happy if I'm wrong and someone explain me the solution.
Thanks
Thiago