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

[DataGrid] Enable row deselection on click by default #15509

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

k-rajat19
Copy link
Contributor

@k-rajat19 k-rajat19 commented Nov 20, 2024

Closes #15487

This allows to toggle row selection on click, however, Ctrl+ Click on a selected row still deselects the row.
In case of Multiple row selection when a range of rows are already selected then by clicking on any of the selected rows would deselect all rows.

Preview - https://deploy-preview-15509--material-ui-x.netlify.app/x/react-data-grid/row-selection/

@mui-bot
Copy link

mui-bot commented Nov 20, 2024

Deploy preview: https://deploy-preview-15509--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 9f77e3d

@k-rajat19 k-rajat19 marked this pull request as ready for review November 20, 2024 14:25
@k-rajat19 k-rajat19 changed the title [DataGrid] Enable Deselecting row on click by default [DataGrid] Enable row deselection on click by default Nov 20, 2024
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

Successfully merging this pull request may close these issues.

[data grid] Deselect row on click by default
2 participants