json_table
json_table copied to clipboard
Duplicate item and pagination issue in v1.4.0
When 40 items with
paginationRowCount: 3
- the second last page has page count 4 and
- 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.
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.
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.