aspose file tools*
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
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!
 
Don't get me started about those stupid light bulbs.
 
subject: Primefaces datatable dynamic object[] filtering