The Grid does not maintain the query params after page load even when enablePersistence is set to true. This is because the Grid refreshes its query params for every page load.
You can maintain the custom query params by resetting the addParams method in the actionBegin client-side event.
JS Code for actionBegin event function
This page will automatically be redirected to the sign-in page in 10 seconds.