Yii2:使用Pjax POST但是分页在Gridview中搜索

I use Pjax library for Yii2 to refresh data without reloading page.

<?php \yii\widgets\Pjax::begin(['id' => 'some-id-you-like',
    'timeout' => false,
    'enablePushState' => false,
    'clientOptions' => ['method' => 'POST']]);

echo GridView::widget([
    ....
]); 

\yii\widgets\Pjax::end(); ?>

Everything is ok. But i want to make pagination works with GET request (I want to see ?page= in url ).

Any advice.

Set 'enablePushState' => true or remove it (default value true).