Issues with Detail List Selection Mode
See original GitHub issueWhen SelectionMode.Single
is selected, you can still select all the items in the list using the checkbox in the header.
<BFUDetailsList ItemsSource="forecasts"
Columns="columns"
LayoutMode="DetailsListLayoutMode.Justified"
SelectionMode="SelectionMode.Single">
</BFUDetailsList>
When SelectionMode.None
is selected, you can still see the checkbox in the header and you can still select all the items:
<BFUDetailsList ItemsSource="forecasts"
Columns="columns"
LayoutMode="DetailsListLayoutMode.Justified"
SelectionMode="SelectionMode.None">
</BFUDetailsList>
Issue Analytics
- State:
- Created 3 years ago
- Comments:15
Top Results From Across the Web
DetailsList - With SelectionMode.multiple, unable to select ...
When selectionMode is set to SelectionMode.multiple, we are unable to select the text on the list rows. This is verified all examples of ......
Read more >DetailsList component is not taking into account selection ...
The items appear as they should on every click but I am having trouble with the selection property. I want all items added...
Read more >fluent ui - In details list there is loss of selection state if ...
While using fluent UI's details list, I am setting both setKey and getKey while overriding the on selection changed method. But on the...
Read more >DetailsList control reference - Power Platform
The component supports Single, Multiple or None selection modes. When selecting items, the SelectedItems and Selected properties are updated.
Read more >DetailsList • shiny.fluent
A details list (DetailsList) is a robust way to display an information-rich collection of items, and allow people to sort, group, and filter...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Fixed with https://github.com/BlazorFluentUI/BlazorFluentUI/commit/f51d3ff28314f1e665f43d459a0aa9e0d6d5847b
Although I didn’t test what happens with grouped lists. There is definitely some logic that is not complete that defines when a select all is allowed with grouped lists.
I’m glad they’re looking at throttling mechanisms. I ran into similar issues when I was trying to make a virtualized list with onscroll without using javascript. It would overload the server-side socket connection and cause a crash. I think we’re stuck with javascript for really advanced scenarios until then.