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

Need radio button for single selection #1453

Open
Siddhant-Shinde opened this issue Aug 1, 2020 · 4 comments
Open

Need radio button for single selection #1453

Siddhant-Shinde opened this issue Aug 1, 2020 · 4 comments

Comments

@Siddhant-Shinde
Copy link

Siddhant-Shinde commented Aug 1, 2020

Currently there is no radio button is available for selection process though we have single selection option with checkbox.

Expected Behavior

For single selection process, can we have a radio button view as well with checkbox view in option?

Current Behavior

For single selection, there is only checkbox view present

Your Environment

Tech Version
Material-UI 4.9.14
MUI-datatables 2.14.0
React 16.12.0
browser
etc
@patorjk
Copy link
Collaborator

patorjk commented Aug 5, 2020

This is a good idea, I'll need to think more about this. There is the checkbox component override, but that affects all checkboxes. I could put in one that was specific to the row selection, that could solve this.

@Siddhant-Shinde
Copy link
Author

Siddhant-Shinde commented Aug 5, 2020 via email

@patorjk
Copy link
Collaborator

patorjk commented Aug 8, 2020

Added an update for this in version 3.4.0. Example: https://github.com/gregnb/mui-datatables/blob/master/examples/custom-components/index.js#L35

@Siddhant-Shinde
Copy link
Author

Thank you patorjk

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

No branches or pull requests

2 participants