lib/components/web/widgets/base/ListWidgetTrait.php
public function renderPager()
    {
        $pagination = $this->dataProvider->getPagination();
        //\d([get_class($this), $pagination]);
        if ($pagination === false || $pagination->getPageCount() <= 1) {
            return false;
        }
        /* @var LinkPager $class */
        $pager = $this->pagerSettings;
        $class = ArrayHelper::remove($pager, 'class', 'canis\widgets\LinkPager');
        $pager['pagination'] = $pagination;
        if (!isset($pager['options'])) {
            $pager['options'] = [];
        }
        $pager['maxButtonCount'] = 6;
        Html::addCssClass($pager['options'], 'pagination pull-right');

        return $class::widget($pager);
    }
public function renderPager()
    {
        $pagination = $this->dataProvider->getPagination();
        //\d([get_class($this), $pagination]);
        if ($pagination === false || $pagination->getPageCount() <= 1) {
            return false;
        }
        /* @var LinkPager $class */
        $pager = $this->pagerSettings;
        $class = ArrayHelper::remove($pager, 'class', 'canis\widgets\LinkPager');
        $pager['pagination'] = $pagination;
        if (!isset($pager['options'])) {
            $pager['options'] = [];
        }
        $pager['maxButtonCount'] = 6;
        Html::addCssClass($pager['options'], 'pagination pull-right');

        return $class::widget($pager);
    }
Renders the pager.

@return string the rendering result