integral, That’s a good solution on pages with disconnected grids–I’ll use it in some places.
However I have a number of interconnected datatables/tabs, so preserving the filter as part of the URL like how apin suggested works a bit better on most of my pages.
For example I have a page with 4 tabs and a grid under each tab. What data is loaded in each grid is somewhat determined by what the user does in another tab (i.e. clicks a state-> temperatures for cities in that state are loaded in a temperature tab). That needs to call a load with a URL and a posted variable, but I sometimes want to preserve the filter used in the temperature tab beforehand (i.e. user selects a state, temperatures for cities in that state are loaded in the 2nd tab, user wants to find temps that are >80, user goes back to state tab and selects a different state, the temperature tab loads the cities in the new state where temps are >80 on first load). It’s not possible to just filterByAll because of the changed postdata
I could user filterByAll() in onAfterLoad for the grids, but that causes two requests to be sent to my server, which is unnecessary extra load.