question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issues with Detail List Selection Mode

See original GitHub issue

When 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>

image

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>

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:15

github_iconTop GitHub Comments

1reaction
limefrogyankcommented, Jul 6, 2020

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.

0reactions
limefrogyankcommented, Jul 10, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found