Forums › Forums › Search & Filter Pro › How to initialize the filters after filtering?
Tagged: repeated filter, reset button
- This topic has 3 replies, 2 voices, and was last updated 6 years ago by
Trevor.
-
Anonymous(Private) April 15, 2020 at 8:40 am #240058
I am using post grid pro and search and filter pro as per the documentation. When I initialize the page the filter is shown properly. And when I select an option from the filter, the result is shown and the item on the filters count is gone to 0. so i am unable to filter again from the same page without reseting or refreshing the page. how to make the page filterable repeatedly?
Trevor(Private) April 16, 2020 at 1:20 pm #240267Q. Is there any way to deselect the filtered item after showing the result?
A. I am sorry, there is not. It might be possible to run some JavaScript to deselect all options on document ready, but I am not sure how you would do this, nor if it would work (it might trigger the results to reload in full, unfiltered).What styling do you need to do? Maybe a different color font or background when selected?
This sort of code does something like that:
.sf-input-checkbox:checked + .sf-label-checkbox { color: green; }But you may need to customize that for your needs.
-
AuthorPosts