Welcome Guest, Not a member yet? Register   Sign In
Pagination: Add getTotalRecords and getCurrentPageRecordsTotal
#1

Hello,

This is my first post

So as we are not getting the total records and current page records in pager library to the template from pagerRenderer.php
I can workaround for total records by adding this to pagerRenderer.php :
Code:
public function getTotalRecordsCount(): int
    {
        return $this->total;
    }
but for current page records count i didn't found any solution
 
please add them so we can show bottom of the table the counts of records 

I also want to ask if there is way list S.No. (numbers) like we do within foreach loop as $i=1 and in the $i++;
sorry if there is already a solution
Reply


Messages In This Thread
Pagination: Add getTotalRecords and getCurrentPageRecordsTotal - by Tanveer - 08-02-2023, 07:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB