protected function renderPageSummaryCellContent() { if ($this->hidePageSummary) { return $this->grid->emptyCell; } $content = $this->getPageSummaryCellContent(); if ($this->pageSummary === true) { return $this->grid->formatter->format($content, $this->format); } return $content === null ? $this->grid->emptyCell : $content; }