/** * Returns the number of records to show per page * * Is overriden to return always the number of data requested by jqGrid ajax request. * * @return integer */ public function getRecordsPerPage() { $perPage = $this->getParam('perPage', false); if (false === $perPage) { return parent::getRecordsPerPage(); } return $perPage; }