on-internet
← Community

Primefaces Datatable Date column filtering

Stack Overflow ·

How can I filter the Date column in Datatable in dd/mm/yyyy pattern? I'm using Primefaces 5.2 Community edition. <p:column sortBy="#{user.date}" styleClass="date" filterBy="#{user.date}" id="date"> <h:outputText value="#{user.date}"> <f:convertDateTime type="date" pattern="dd/MM/yyyy" /> </h:outputText> <p:watermark for="@(.date)" value="#{msg['dateOfBirth']}" /> </p:column> Filtering without a converter works, but with the converter, it does not work anymore.

Comments

Sign in or sign up to comment and upvote.

No comments yet.