0
votes

I'm having issue with primefaces datatable sorting when I have <p:cellEditor> column, other columns are sorted correctly.

 <p:column headerText="#{message.label_code}"  sortBy="#{item.code}">
            <p:cellEditor>
    <f:facet name="output">
          <h:outputText value="#{item.code}" />
    </f:facet>
   <f:facet name="input">
         <p:inputText value="#{item.code}" style="width:100%"/>
   </f:facet>
        </p:cellEditor> </p:column>
1

1 Answers

0
votes

It is defect of primefaces 3.3.1. It was reported as an issue http://code.google.com/p/primefaces/issues/detail?id=4173 and it should be resolved in version 3.4.
Try update primefaces to higher version.