yadcf icon indicating copy to clipboard operation
yadcf copied to clipboard

filters making life confusing.

Open we-sell-bags opened this issue 1 year ago • 2 comments

We can set filters on tables that stay intact even if we leave the page then come back to it. as long as teh session is still valid.

however when we come back to the screen , the filter is still in place , but the conditions have been erased out of the onscreen selection boxes. this makes usage very confusing.

is the anyway to persist the content of the selection boxes or perhaps have some area where the filters can be shown after return to the screen

we-sell-bags avatar Feb 20 '25 07:02 we-sell-bags

hi please share a link to a test page that show such behaviour

You can make use of the stateSave: true property of datatables take a look at the showcase https://yadcf.web.app/ tables 1 and 3, they are using that property which makes the value stay even after page refresh

vedmack avatar Mar 09 '25 14:03 vedmack

yes i do use "save state" , but when the user goes to another page then comes back.. the "save state" still filters, but the content of the filter boxes are empty. so the user cannot see what filters were applied in the past ,even though the filters are still active.

we-sell-bags avatar Mar 17 '25 07:03 we-sell-bags