Meaningless Drivel is fun!*
The moose likes JSF and the fly likes Primefaces datatable dynamic object[] filtering Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Primefaces datatable dynamic object[] filtering" Watch "Primefaces datatable dynamic object[] filtering" New topic
Author

Primefaces datatable dynamic object[] filtering

Cj Recto
Greenhorn

Joined: Mar 02, 2012
Posts: 26
Hi,

I'm trying to create a dynamic datatable using object[] instead of entity. So far, I was able to do it, but I can't find a way to filter the table.

Heres my xhtml code:



In a normal datatable that uses an entity, you just put the entity property in filterBy attribute. But since I'm not using an entity but an Object[], how can I filter the datatable?
What should I put on the filterBy attribute?

Thanks!
 
 
subject: Primefaces datatable dynamic object[] filtering
 
Similar Threads
Primefaces DataTable Field Specific and Global Filtering Issues
Sorting is not working in my JSF PrimeFaces Datatable and blank (empty) rows are displayed filtering
Submit dataTable fields
Rich:Columns
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0