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

Duplicate item and pagination issue in v1.4.0 #23

Open
alphalykos7 opened this issue May 29, 2020 · 2 comments
Open

Duplicate item and pagination issue in v1.4.0 #23

alphalykos7 opened this issue May 29, 2020 · 2 comments

Comments

@alphalykos7
Copy link

alphalykos7 commented May 29, 2020

When 40 items with

paginationRowCount: 3

  1. the second last page has page count 4 and
  2. last item duplicated in the last page

Tested on the https://apgapg.github.io/json_table/#/customData

Edit : For any nx+1 items, where n is the row count, this pagination and duplication issue may be present from checking Live Demo where row count is 20 with 41 items.

@apgapg apgapg closed this as completed May 29, 2020
@apgapg apgapg reopened this May 29, 2020
@apgapg
Copy link
Owner

apgapg commented May 29, 2020

This issue has been fixed on master branch.

The github pages were outdated. I have pushed latest changes. Please test again with your custim data.

@alphalykos7
Copy link
Author

alphalykos7 commented Jun 1, 2020

Nope.
Check with say,
[ { "name": "Ram1", "email": "[email protected]", "age": 23 }, { "name": "Shyam1", "email": "[email protected]", "age": 28 }, { "name": "John1", "email": "[email protected]", "age": 33 }, { "name": "Ram2", "email": "[email protected]", "age": 23 }, { "name": "Shyam2", "email": "[email protected]", "age": 28 }, { "name": "John2", "email": "[email protected]", "age": 33 }, { "name": "Ram3", "email": "[email protected]", "age": 23 }, { "name": "Shyam3", "email": "[email protected]", "age": 28 }, { "name": "John3", "email": "[email protected]", "age": 33 }, { "name": "Ram4", "email": "[email protected]", "age": 23 }, { "name": "Shyam4", "email": "[email protected]", "age": 28 }, { "name": "John4", "email": "[email protected]", "age": 33 }, { "name": "Ram5", "email": "[email protected]", "age": 23 }, { "name": "Shyam5", "email": "[email protected]", "age": 28 }, { "name": "John5", "email": "[email protected]", "age": 33 }, { "name": "Ram6", "email": "[email protected]", "age": 23 }, { "name": "Shyam6", "email": "[email protected]", "age": 28 }, { "name": "John6", "email": "[email protected]", "age": 33 }, { "name": "Ram7", "email": "[email protected]", "age": 23 }, { "name": "Shyam7", "email": "[email protected]", "age": 28 }, { "name": "John7", "email": "[email protected]", "age": 33 } ]

on https://apgapg.github.io/json_table/#/customData

Also, i'm finding this issue of pagination and duplication with my application as well.

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