Skip to content
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

Loading data from ngrx store does not update paginator #945

Closed
huineng opened this issue Sep 22, 2016 · 2 comments
Closed

Loading data from ngrx store does not update paginator #945

huineng opened this issue Sep 22, 2016 · 2 comments

Comments

@huineng
Copy link

huineng commented Sep 22, 2016

i load my table lazy , i store the results of my xhr into an ngrx store..
i have about 20 pages so i can click eg on the navigator to page number 5
xhr call made, table updates and ngrx store updates

all fine

i navigate away from my table to another route , the table gets destroyed.
I navigate back to my table route, table is now loaded from my store , with data that are those i expected to see on page number 5

only problem .. my paginator stays at page 1 and i want to have it displayed at page 5.

So i guess you need to add an (optional) field that will tell you at what page you start
or you need to allow the "first" field to be set programmatically

thanks

@huineng
Copy link
Author

huineng commented Sep 24, 2016

please allow "first" on datatable like on paginator

@huineng
Copy link
Author

huineng commented Dec 23, 2016

closed in #660

@huineng huineng closed this as completed Dec 23, 2016
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

1 participant