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

Problem with dynamic items per page #120

Open
skywalkershen opened this issue Jan 7, 2019 · 1 comment
Open

Problem with dynamic items per page #120

skywalkershen opened this issue Jan 7, 2019 · 1 comment

Comments

@skywalkershen
Copy link

Hi, I'm trying to use dynamic items per page based on user input, yet I have following problem:

I added input for per page, when a number is chosen, the table will reload and show the 1st page. It works well until here.

Then, when changing the index, it shows all the items except those on previous pages.
say, I have items: [1, 2, 3 ... 15], and I choose perpage as 4 on page 2, it shows: [5, 6 ...15]. on page 3, it shows [9, 10 ... 15].

Any idea how to fix it? Thanks.

Please see the jsfiddle here for detailed info:
https://jsfiddle.net/skywalkershen/szvbwpou/

@kuamatzin
Copy link

@skywalkershen did you found the solution?

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