-
Notifications
You must be signed in to change notification settings - Fork 535
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
Add pagination to /clients #78
Comments
I think I can take my hand at this. Is there anything I should be cautious of @anweshknayak ? |
Also, according to https://openmf.github.io/web-app/clients, it looks like pagination already exists? |
@mdew192837 you have to use https://demo.openmf.org/api-docs/apiLive.htm#clients_list the pagination feature from the API given in link and plug into material angular pagination feature which we are using. Also you can take a look how we are fetching API calls https://github.com/openMF/web-app/blob/master/src/app/clients/clients.service.ts |
Currently only material angular pagination layout works which is the UI part. It is not plugged into the API yet. For testing purpose you can set to 4 pages per list as the clients list is not populated. |
@anweshknayak I don't think the link to the API docs is working. Is there an alternative? |
Check the link in the github source file I mentioned above. Use that
…On Sat, 30 Jun 2018, 23:48 Mt.Du, ***@***.***> wrote:
@anweshknayak <https://github.com/anweshknayak> I don't think the link to
the API docs is working. Is there an alternative?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#78 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AHw0B6J7wrYnd6vRgY4pUVAK7bQ45C38ks5uB8DZgaJpZM4U8MrD>
.
|
I'm a bit confused in regards to steps I need to implement. For example, I think I need page number, length, and a way to dynamically get the right users. I think i do that by using the offset property, but I can't seem to get pagination to work. @anweshknayak |
@mdew192837 take a look at this for inspiration https://blog.angular-university.io/angular-material-data-table/ |
/clients
The text was updated successfully, but these errors were encountered: