I need to know how to clean the filters when the page is reloaded.
post by Pedro on Mar 2, 2023
post by larasmith on Apr 25, 2023
Hi @Pedro
Why do you need to clean the filters when the page was reloaded?
There is actually a Clear Filtering button under the Settings button.
post by Pedro on Apr 25, 2023
Hi @larasmith
On a page_A you perform a sorting or filtering action and then go to another page_B and return to page_A, you keep the filter cache and roden , this is confusing for the user.
It would be nice to have the ability to clear the cache by code and not by user action.
post by larasmith on Apr 26, 2023
Awesome workaround you got there… I was thinking the same approach ![]()
Anyways we can also disable remembering the quick search by setting the:
‘remember_quick_search’ configuration to false ![]()
post by johnny on Jun 11, 2023
‘remember_quick_search’ is removed in Grocery CRUD version 3 as also per documentation: Migrating from v2 to v3 | Grocery CRUD - A PHP CRUD Generator Library . However, I will create a new configuration for that since many people are asking for it.
In the meantime a quick work-around can be the below:
window.addEventListener('gcrud.datagrid.ready', () => {
setTimeout(function () {
document.querySelector(".grocery-crud .fa-broom").click();
}, 500);
});
post by johnny on Jun 15, 2023
I am glad to announce you that on 3.0.8 we’ve introduced a new config named: remember_state_upon_refresh that you can switch it to false and it will not remember the previous state (e.g. search data, page… e.t.c.) upon refresh.
Let me know if that works for you.
Regards
Johnny
post by larasmith on Jun 16, 2023
This is awesome! ![]()
I can’t wait to upgrade to this version ![]()
New & Unread Topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Setting quick search values via JavaScript not working properly for booleans |
|
0 | 563 | Nov 2025 |
| callbackColumn() has not effect in v3.2.6 Enterprise |
|
2 | 696 | Dec 2025 |
| displayAs() doesn’t support new line in headings |
|
4 | 873 | Jan 5 |
| PRINT date format not consistent |
|
6 | 357 | Sep 7 |
| “Ooooops, something went wrong! If you can see this message, this is probably a misconfiguration in Grocery CRUD Enterprise!” |
|
6 | 266 | 8d |
