$widget = \yii\widgets\ListView::begin([
'dataProvider' => $provider,
'itemView' => 'parts/_company',
'emptyText' => 'No results.',
'summary' => '',
'itemOptions' => [
'tag' => 'article',
'class' => 'company-module clr',
],
'options' => [
'class' => 'list clr'
],
]);
I have a widget that uses data provider and i have rendering in another part of file.
<?php $widget->renderItems(); ?>
<?php $widget->renderPager(); ?>
<?php $widget->end(); ?>
And i cant get pagination to load outside items container (list clr). Is it possible to separate it in html?