Page 1 of 1

Save the datatable filters

Posted: 15 Jul 2017, 00:07
by leacardenas
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?

Re: Save the datatable filters

Posted: 15 Jul 2017, 09:39
by kukeltje
Recent versions have 'stateSaving'... Check the PrimeFaces showcase https://www.primefaces.org/showcase/ui/ ... tate.xhtml

Re: Save the datatable filters

Posted: 17 Jul 2017, 18:18
by leacardenas
Great!! thank you very much!