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

Allow enabling/disabling multiselect in data grid #3356

Closed
mhwaage opened this issue Mar 19, 2024 · 1 comment
Closed

Allow enabling/disabling multiselect in data grid #3356

mhwaage opened this issue Mar 19, 2024 · 1 comment

Comments

@mhwaage
Copy link
Contributor

mhwaage commented Mar 19, 2024

Is your feature request related to a problem? Please describe.

Currently, the data grid allows multi-selecting rows. I would like this to be configurable. This is configurable in the underlying tanstack table, so this is a matter of forwarding props.

Describe the solution you'd like
A forwarded prop for enabling (or not) multi-select (currently it is using the default, which is that it is enabled if row selection is enabled).

Describe alternatives you've considered

Users somehow manage this via the onRowSelection function. This is surprisingly tricky.
Additional context
I have made a draft pr in #3355 but this one does not contain any tests since I haven't configured the overall environment locally.

@mhwaage mhwaage changed the title Allow enabling multiselect in data grid Allow enabling/disabling multiselect in data grid Mar 20, 2024
@oddvernes
Copy link
Collaborator

this was resolved by #3355

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

2 participants