Custom Pagination

Permalink
Hi Folks
I have a requirement where I need to write a complex custom query having filtering along with export options. Now as the query isn't using pagelist object, I cannot call default pagination function. So is there any way I can code it custom?

ronyDdeveloper
 
mnakalay replied on at Permalink Reply
mnakalay
Hello,

Actually, you don't need it to be a page list. You need to have a class that extends ItemList to be able to use the getPagination() function.

A good example of that is the log list concrete\src\Logging\Query\LogList.php

Happy New Year