Pjax widget not working

Hi guys,

im new to Yii2, I have installed Yii2 basic structure using composer and trying to create user section.

I have created user section with gii CRUD Generator, all things working fine except Ajax functionality, for Ajax functionality, i have added Pjax widget with gridview as following :

<?php Pjax::begin(); ?>

&lt;?= GridView::widget([


'id'	=&gt; 'user-grid',


    'dataProvider' =&gt; &#036;dataProvider,


    'filterModel' =&gt; &#036;searchModel,


    'columns' =&gt; [


        ['class' =&gt; 'yii&#092;grid&#092;SerialColumn'],





        'id',


        'role_id',


        'username',





        ['class' =&gt; 'yii&#092;grid&#092;ActionColumn'],


    ],


]); ?&gt;

<?php Pjax::end(); ?>

BUT still page reloaded with pagination links and filterModel search.

I don’t know that what is missing here, i tried to search on forum but do not found any solution.

Can any one help me to overcome this issue PLS.