Server-side mode: when calling refreshGrid with a new baseUrl, update lastURL.