/** * @return string */ private function renderClone() : string { // add columns viksiblity dropdown $this->options->add($this->getColumnDropdown()); if ($this->filtersForm) { $this->filtersForm->add(new Submit(self::trans('bootstrap.grid/filter'))); } // add pagination if ($this->rowCount) { $this->options->add($this->getRowsPerPageDropdown()); $pagination = new Pagination((int) ceil($this->rowCount / $this->getPageSize()), $this->argsCallback); $this->navbar->add($pagination, false); } return parent::render(); }