yii2 - Gridview pager link with pjax -


i'm using pjax in such way:

<?php pjax::begin([     'id' => 'clients-list',     'enablepushstate' => false,     'enablereplacestate' => false, ]); ?> 

and works fine url in browser, replaces links pagination in gridview (link action in controller processing ajax requests). how avoid it?

by default, links inside pjax container trigger pjax request.

to avoid it, add 'data-pjax' => 0 attribute them, , in case ignored.


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -