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

Data not loading as intended when page limit is changed #13

Open
madhavaramkirankumar opened this issue Sep 28, 2017 · 1 comment
Open

Comments

@madhavaramkirankumar
Copy link

madhavaramkirankumar commented Sep 28, 2017

Data table pagination is not working as intended.
Steps to Reproduce:-

  1. Open https://ggmod.github.io/angular-2-data-table-demo/
    2.Goto Films Table (last table present in the above link) and click next button of pagination
  2. Once you are in page 2, change Max results to 3.
  3. Navigate to previous pages (click on "<" button). When you are in page 1 you will see records indexed 3,4,5.
  4. One more time click "<" button, then you will see records as 123.

When we are in step 4 the "<" button should be disabled and also data should not load in this way.
I would recommend when the page limit is changed navigate to page one and reload the data from page one. Behind the screen I would say reset page number to zero, offset to zero.

@madhavaramkirankumar madhavaramkirankumar changed the title Data not loading when page limit is changed Data not loading as intended when page limit is changed Sep 28, 2017
@amaraneniakash
Copy link

Is there any one who fixed this issue

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