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
Post a Comment