• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Primefaces datatable dynamic object[] filtering

 
Cj Recto
Greenhorn
Posts: 26
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic