wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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!
 
jQuery in Action, 2nd edition
 
subject: Primefaces datatable dynamic object[] filtering
 
Similar Threads
Submit dataTable fields
Sorting is not working in my JSF PrimeFaces Datatable and blank (empty) rows are displayed filtering
Rich:Columns
Primefaces DataTable Field Specific and Global Filtering Issues
SelectListener for DataTable populated with ActionListener - infact if the initial size = 0