Modify CListView Pagination

Hi, is there a way to modify CListView pagination to show pages in the format

previous page 1 of 50 next

rather than

previous 1 2 3 4 5 next


Extend CListView?

Any example of how to do that to achieve what I want? Is there no elegant way to achieve this without extending the class e.g. by passing params to pager or something like that ?

you will be required to extend CListViewBase class renderpager method to do so

check this

yeah the CListView API

As i said extend CListView which extends CBaseListView

I would suggest check the CBaseListView’s code and see how you want to recode the pager in the child class.