Yes it is -- you would need to override the click handlers in QDataGrid (essentially overriding the default) to change the URL instead of processing the AJAX response directly.
And then, your form handler will read the URL and set/display the page accordingly.
This has been asked a few times before, so I'll try and put up an Examples Site page for it... but unfortunately it won't be any time soon.