i have problem where i can make pop up to view 50 customer, but for pageSize must be only 10.
$dataProvider->pagination->pageSize = 10;
the problem when click next page the page, i use renderAjax in controller. javascript
$(function() {
$('.popupModal').click(function(e) {
e.preventDefault();
$('#modal').modal('show').find('.modal-content')
.load($(this).attr('href'));
});
});
and i use:
<?php
yii\bootstrap\Modal::begin(['id' =>'modal']);
yii\bootstrap\Modal::end()
?>
and i attach my screen shoot for my pop up error