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

EuiTable: add ability to set default selected checkboxes for tables with selection #3406

Closed
alvarezmelissa87 opened this issue Apr 29, 2020 · 4 comments

Comments

@alvarezmelissa87
Copy link

Related issue: #1077

This is an enhancement request for table components (Basic and InMemory, primarily).

It would be useful when implementing selection to be able to set a default for checkboxes that should be selected/checked by default.

Example use case:

If this table is used as part of a wizard and the user wants to go back to the step with the table once they've moved on, there's no way to retain previous selection while also allowing those selections to still be edited.

@ashikmeerankutty
Copy link
Contributor

@cchaos @alvarezmelissa87 I would like to work on this.

@chandlerprall
Copy link
Contributor

@ashikmeerankutty please do!

Make sure to read through the related issue #1077 , ideally we arrive at a consolidated way to set an initial set of selection values and a good way to update them after mount. The table code gets messy quickly, don't hesitate to ask questions as you dig through the components!

@ashikmeerankutty
Copy link
Contributor

@chandlerprall This issue is fixed and can be closed 👍

@chandlerprall
Copy link
Contributor

Closed by #3418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants