src/Grid.php
private function setModelLimitFromPaginator()
    {
        $this->paginator->setTotal(ceil($this->model->action('count')->getOne() / $this->ipp));
        $this->model->setLimit($this->ipp, ($this->paginator->page - 1) * $this->ipp);
    }
private function setModelLimitFromPaginator()
    {
        $this->paginator->setTotal(ceil($this->model->action('count')->getOne() / $this->ipp));
        $this->model->setLimit($this->ipp, ($this->paginator->page - 1) * $this->ipp);
    }
private function setModelLimitFromPaginator ( ) { $ this -> paginator -> setTotal ( ceil ( $ this -> model -> action ( 'count' ) -> getOne ( ) / $ this -> ipp ) ) ; $ this -> model -> setLimit ( $ this -> ipp , ( $ this -> paginator -> page - 1 ) * $ this -> ipp ) ; }
Will set model limit according to paginator value.

@throws \atk4\data\Exception
@throws \atk4\dsql\Exception
Will set model limit according to paginator value .