Save the datatable filters

UI Components for JSF
Post Reply
leacardenas
Posts: 30
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: 9605
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

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

17 Jul 2017, 18:18

Great!! thank you very much!

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests