-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
refactor(module: table): reorganize the selection of rows #3502
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3502 +/- ##
===========================================
+ Coverage 1.55% 44.69% +43.14%
===========================================
Files 566 566
Lines 26899 26957 +58
Branches 5566 5587 +21
===========================================
+ Hits 417 12049 +11632
+ Misses 26442 13929 -12513
- Partials 40 979 +939 ☔ View full report in Codecov by Sentry. |
I noticed that a breaking change was introduced since in property/parameter RowSelectable was removed from components/table/Table.razor.cs? Is there any way to achive the same functionality? |
RowSelectable just removed? Suddenly breaking changes? |
I'm sorry @Fredrik-C ,@jonaswikstrom, this is because the You can set the disabled parameter to achieve the same functionality. <Table @ref="table" DataSource="@data" @bind-SelectedRows="selectedRows" RowKey="x=>x.Name">
+ <Selection Key="@context.Name" Type="@selectionType" Disabled="@(context.Name == "Disabled User")" />
<PropertyColumn Property="c=>c.Name">
<a>@context.Name</a>
</PropertyColumn>
<PropertyColumn Property="c=>c.Age" />
<PropertyColumn Property="c=>c.Address" />
</Table> |
🤔 This is a ...
🔗 Related issue link
💡 Background and solution
📝 Changelog
☑️ Self Check before Merge