To renderAjax() a view containing a Gridview widget. This all works fine. That said, when the user clicks on one of the Gridview headers to order the results, it goes and changes page/form the URL based on the gridview and causes problems. How can I stop this?
I open the form in a modal window to edit the entry, when you click on any header within that gridview it changes the pages url to refelect that Gridview’s url/sort so when pjax refreshes it loads that rather than the original index page which called the modal.
So is there are way to allow the filtering/sorting, as it does work, but stop it from changing the page’s url?