Skip to content

Fixed SelectedItem undefined #14

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Fixed SelectedItem undefined #14

wants to merge 2 commits into from

Conversation

GabrieleChiodi
Copy link

Hi, I've fixed the problem.
Example:
If you have an array of 60 elements with page Limit 50, when you go to the second page you have a currentTableData with 10 elements and you try to retrieve element with index of all elements (selectedIndex = 57 --> error) selectedIndex must be = selectedIndex - (pageLimit * currentPage - 1).

@webdeveloper-abr-samuel
Copy link

01-07-2022 the error still continues

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

Successfully merging this pull request may close these issues.

2 participants