Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Default Filters using PrimeFaces datatable  RSS feed

 
Robert Liguori
author
Greenhorn
Posts: 13
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Simply put, I would like to load default filters into a PrimeFaces datatable.


Note that I do change/set the filters in the backing bean, though all my attempts to get the datatable to refresh with the new filters against a (commandButton press) or futile.

--> dataTable.setFilters(filters); // New HashMap < String, Object >

Any suggestions or working code samples to share?




///////////////////////////////////////////////////////////////////////////






Thanks,
Robert

Reference:
Default filter values for datatable
https://code.google.com/p/primefaces/issues/detail?can=2&start=0&num=100&q=&colspec=ID%20Type%20Status%20Priority%20TargetVersion%20Reporter%20Owner%20Summary&groupby=&sort=&id=3212

How to load a Primefaces datatable with default filters?
http://forum.primefaces.org/viewtopic.php?f=3&t=42553

How is a p:datatable updated from a managed bean?
http://forum.primefaces.org/viewtopic.php?f=3&t=42518

oncomplete="PF('facilityRecordsTable').filter();" not working
http://forum.primefaces.org/viewtopic.php?f=3&t=42517

setting default value in primefaces datatable Filter
https://stackoverflow.com/questions/15450274/setting-default-value-in-primefaces-datatable-filter
 
Jason Jia
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I recently start to build my own components library (TieFaces). One component is 'TableLookup' which actually using Primefaces Filter functions. Not sure whether is what you want.
Check this link : TieFaces TableLookup
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!