Question: how to use pjax in yii2?
Answer: Example# Add this line at the beginning of your view. <? php use yii\widgets\Pjax; ?> ... 
reload pjax. $.pjax.reload({container: '#id-pjax'});
use timeout argument in pjax. <? php Pjax::begin(['id'=>'id-pjax', 'timeout' => false]); ?>