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

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

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -