I created a form using the form api that outputs a list of results via an ajax callback. I want the said view to paginated. How can i do that? I'm using drupal 8 and don't want to use embeded views.


The Drupal 8 Api has an example on how to create paged content: https://api.drupal.org/api/drupal/core!includes!pager.inc/function/pager_default_initialize/8.2.x

  • 1
    Yes, but i need the pager to use ajax. – José Trindade Jan 12 '17 at 9:18
  • I also need this, ajax pagination. – Ngatia Frankline Apr 17 '18 at 15:24

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.