PF Filtering a Datatable column which contains a date

前端 未结 2 1784
既然无缘
既然无缘 2020-12-14 05:38

I have a column in a datatable and I want to add a filter with this code:



        
2条回答
  •  渐次进展
    2020-12-14 06:05

    There is no ready-made date filter mechanism in primefaces yet, but there is a possibility to filter by date using a custom filter. You will have to define a header facet for your column and use ajax calls for "manual" filtering, but it does work:

    
      DateRange
        

    ...

提交回复
热议问题