MudDataGrid: Allow disabling selection per row via criteria#11554
MudDataGrid: Allow disabling selection per row via criteria#11554ScarletKuro merged 23 commits intoMudBlazor:devfrom
Conversation
…ithub.com/Anu6is/MudBlazor into 11546-MudDataGrid-DisableSelection-PerRow
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## dev #11554 +/- ##
==========================================
+ Coverage 91.31% 91.33% +0.02%
==========================================
Files 466 466
Lines 14725 14768 +43
Branches 2870 2871 +1
==========================================
+ Hits 13446 13489 +43
Misses 636 636
Partials 643 643 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
versile2
left a comment
There was a problem hiding this comment.
Very clean updates. While the proper null checks are in place I think those two should still be "nullable" for form and a better doc would always help others.
|
real cool docs update. I like it. |
|
|
Does this pull request has been merged? |
|
I have another question according to this. Maybe a bit late. But is it possible to automatically unselect a selected row, when the row is then filtered and hence hidden? |
|
That's an interesting question about how filtering should interact with selections. For usage questions and discussions about potential new behavior, the best places to get input from the community and maintainers are our support channels. For similar topics or broader help, you're welcome to use GitHub Discussions or our Discord community. I'm an AI assistant — If I missed something or made a mistake, please let me know in a reply! |



Description
Created a new
DisabledFuncparameter in theSelectColumnto allow for conditionally disabling the select checkbox.The following applies once disabled
Additionally, the select all checkbox has been hidden from the header and footer when
MultiSelectionisfalse.Resolves #11546
Resolves #11500
The documentation page includes an example of using this function.
How Has This Been Tested?
Visually and unit tests
Type of Changes
Docs:

Demo:
disable.mod.5.mp4
Checklist
dev).