Save the datatable filters

Components, Ajax Framework, Utilities and More.
Post Reply
leacardenas
Posts: 26
Joined: 24 Aug 2016, 18:52

15 Jul 2017, 00:07

The primefaces datatables has a option that is to add filters, I wish to know. Is there a way for me to save the values that someone inserts on those filters.

Someone enters and filters id = 1, name = maria, number of id = 67. She goes to another page and edits Maria's info, but when she returns to the datatable page, she has lost all the filters and has to rewrite all the values.

Is there a way to save those values? or retain them?

kukeltje
Expert Member
Posts: 8662
Joined: 17 Jun 2010, 13:34
Location: Netherlands

15 Jul 2017, 09:39

Recent versions have 'stateSaving'... Check the PrimeFaces showcase https://www.primefaces.org/showcase/ui/ ... tate.xhtml
Ronald van Kuijk
______________________________
PrimeFaces 6.1, PrimeFaces plus 0.0.2 | JbossWildfly 10.1| Mojarra 2.2.13
Fedora 61, Firefox 'most recent'
Read the forum posting rules
Beginners: https://jsf.zeef.com/bauke.scholtz

leacardenas
Posts: 26
Joined: 24 Aug 2016, 18:52

17 Jul 2017, 18:18

Great!! thank you very much!

Post Reply
  • Information
  • Who is online

    Users browsing this forum: denisduval75 and 26 guests