protected function setPageRows()
{
if ($this->grid->showPageSummary && isset($this->pageSummary) && $this->pageSummary !== false && !is_string($this->pageSummary)) {
$provider = $this->grid->dataProvider;
$models = array_values($provider->getModels());
$keys = $provider->getKeys();
foreach ($models as $index => $model) {
$key = $keys[$index];
$this->_rows[] = $this->getDataCellValue($model, $key, $index);
}
}
}