When user displays my CGridView, let’s say i am on page number 3 , and then click to display details of selected grid view item and then goes back with either pressing “Back” (tested in Firefox and IE) or by re-entering grid view’s view, he always gets first page and order by default column.how can i retain the state of pagination.
I got additional question related somehow (I use Yii 1.1.13). Imagine there is page with a CGridView with enabled history and pagination via ajax (displaying many pages):
user goes to for instance page 3 in grid pagination
then user goes to other url/page (not a grid page)
then users clicks back button to go back to page with grid
Grid page will display first page results for a fraction of seconds and then it will load results via ajax for page 3? Does it it have to go to page 1 and then jump to page 3? IMO on back button it should go to 3 page results directly.