Closed 1a57danc3 closed 1 year ago
Thanks, @0ne1astk155 for opening this issue.
Unfortunately, our table examples really need better code examples. Those examples are very old and don't even open in CodeSandbox. Also, they contain some issues like the one you mentioned. When switching pagination the selection doesn't get recorded.
We have a goal to improve the tables examples:
I think we can use Faker to create better examples. So this will make sure the examples open in CodeSandbox. Also, we need to make sure the examples work as expected:
@miukimiu is this resolved as of #6521?
Closing this in favor of https://github.com/elastic/eui/issues/4090. It sounds like the issue of EuiInMemoryTable
saving row selection state between pages is something that EUI determined to be too difficult UX wise for us to determine OOTB - consumers should instead manage this themselves with the setSelection
API (available through the table ref) if they require this functionality.
https://elastic.github.io/eui/#/tabular-content/tables#adding-selection-to-a-table
When switching pages, the selected content in the list needs to be recorded