lib/components/web/widgets/grid/View.php
protected function _prepareDataProvider()
    {
        if (!is_null($this->limit)) {
            $this->dataProvider->pagination->pageSize = $this->limit;
        } else {
            $this->dataProvider->pagination->pageSize = $this->itemsPerRequest;
        }
    }
protected function _prepareDataProvider()
    {
        if (!is_null($this->limit)) {
            $this->dataProvider->pagination->pageSize = $this->limit;
        } else {
            $this->dataProvider->pagination->pageSize = $this->itemsPerRequest;
        }
    }
[[@doctodo method_description:_prepareDataProvider]].