Difference between #2 and #3 of
Pjax GridView: refresh page after delete

Revision #3 has been created by hehbhehb on May 11, 2018, 3:59:10 AM with the memo:

a little change
« previous (#2) next (#4) »

Changes

Title unchanged

pjax gridview delete button issue

Category unchanged

How-tos

Yii version unchanged

2.0

Tags unchanged

ajax button in CGridView,pjax,pjax gridview delete refresh

Content changed

Normally, after clicking the delete button in gridview, the record will be deleted and the page will refresh, but the page number in query string is lost. This is not always the case we expect. How to refresh current page with pjax after deleting the record? It seems there is no very simple solutions, This is my way, it works well, although it is not clean.

1. Controller file


```
[...]
6 0
4 followers
Viewed: 48 017 times
Version: 2.0
Category: How-tos
Written by: hehbhehb
Last updated by: CeBe
Created on: May 11, 2018
Last updated: 6 years ago
Update Article

Revisions

View all history