FriendsOfCake/cakephp-csvview

Add paginator

imdad opened this issue · 2 comments

imdad commented

It would be great if you can add pagination support for CSV data. It will be a very useful feature as per end user's perspective to see the data in a paginated view like it used to see all the other data on website which comes from database.

A CSV wouldn't be able to be interacted with via the browser. As it stands, if you land on a page that is paginated, the dataset sent to the user would be whatever is on that page. You can change this to send all the data when generating a CSV, for instance.

That is already possible and supported, see http://sandbox.dereuromark.de/sandbox/csv
E.g.

It should not be hard to build this for your use case yourself based on the existing paginator of CakePHP core and this CSV plugin.