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

[EuiInMemoryTable] Pagination is not working #4369

Closed
chrisronline opened this issue Dec 8, 2020 · 2 comments
Closed

[EuiInMemoryTable] Pagination is not working #4369

chrisronline opened this issue Dec 8, 2020 · 2 comments
Labels
answered Issues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible

Comments

@chrisronline
Copy link
Contributor

I took the demo code and put it into a sandbox: https://codesandbox.io/s/delicate-dream-3xzeb?file=/index.js

Try going to the next page, or changing how many are shown per page. Neither control seems to work.

Users started reporting this in the 7.10 release.

@thompsongl
Copy link
Contributor

We can certainly improve the props documentation for pagination options, but it looks like the config used in the codesandbox repro is incorrect. #4038 introduced the pageIndex and pageSize options to enable full external control alongside the onTableChange callback to handle updates. initialPageIndex and initialPageSize are still valid options (although missing from the props table) and are used with internal/automatic pagination.
The repro component either needs to handle changes with onTableChange or switch to use initialPageIndex and initialPageSize.

@daveyholler daveyholler added answered Issues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response and removed bug labels Mar 6, 2023
@daveyholler
Copy link
Contributor

Closed, not an issue with EUI source code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered Issues answered by the EUI team - auto-closes open issues in 7 days if no follow-up response ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible
Projects
None yet
Development

No branches or pull requests

4 participants