Skip to content

Question: How can implement pagination? #132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
thesurenk opened this issue Apr 24, 2020 · 1 comment
Closed

Question: How can implement pagination? #132

thesurenk opened this issue Apr 24, 2020 · 1 comment

Comments

@thesurenk
Copy link

Thanks for the example Deborah.

If we have a lot of records..

  1. How can we implement pagination?
  2. If we have pagination, will the filter work only the displayed products on the page or across all records?
  3. Or should we wait until enters submit in the search box, then call the service -> fetch the records -> filter among them -> display on the page -> and pagination

Appreciate your help/advice.

@DeborahK
Copy link
Owner

If you have lots of records, you probably want to perform the filtering (and the pagination) on the server side, as part of the http request.

See this for an example: https://app.pluralsight.com/library/courses/angular-denver-2019-session-27

Hope this helps!

Since this isn't an issue with the provided code, I'm closing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants