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.

DetailsListAuto throws a tantrum

See original GitHub issue

I’m not sure if this is a bug or i’m just having wrong code. So I hope to clarify what I have done with the following code and why it won’t work for me. (Thank you in advance)

Razor part: <DetailsListAuto ItemsSource="StagnationOptions" IsVirtualizing="true" TItem="DataItem" Compact="true" Columns="StagnationColumnSource" GetKey="@(x => x.Key)" LayoutMode="DetailsListLayoutMode.FixedColumns" Selection="StagnationOption" SelectionMode="SelectionMode.Single" />

Code part (Variables): private Selection<DataItem> StagnationOption { get; set; } private IList<DataItem> StagnationOptions { get; set; } private IList<DetailsRowColumn<DataItem>> StagnationColumnSource { get; set; }

Code part (Filling with values): StagnationOptions = new List<DataItem>(); StagnationOptions.Add(new DataItem("true", "Ja")); StagnationOptions.Add(new DataItem("false", "Nej")); StagnationColumnSource = new List<DetailsRowColumn<DataItem>>(); StagnationColumnSource.Add(new DetailsRowColumn<DataItem, string>("Text", x => x.Text) { Index = 0 });

This is the error that shows in the console when running: 2021-04-15 08_59_30-VES TBS3 (Running) - Microsoft Visual Studio

And this is how it looks with the error: 2021-04-15 09_00_07-VES TBS3

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

dominicusmentocommented, Apr 15, 2021

Regarding this, you should probably unlist 5.2.0 due to such bug and leave only 5.2.1… I also have some disposable bug which is introduced in 5.2.0 / 5.2.1 but I’ll open another issue…

vnbaaijcommented, Apr 15, 2021

Sorry, but I introduced a bug here. It has to do with th e JavaScript isolation I added. I forgot to delete the ‘.’ in the call to addViewPort. Fix is on its way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Temper Tantrums (for Parents) - Nemours KidsHealth
Temper tantrums range from whining and crying to screaming, kicking, hitting, and breath holding. Get the facts on managing - and preventing -...
Read more >
Child Throws Epic Tantrum In Public | Supernanny - YouTube
A tough case for Supernanny as this child throws an epic tantrum in public. More Supernanny tips here on how to deal with...
Read more >
Aggressive Detainee Throws Tantrum, Bangs Head on ...
In Tampa, Florida, an angry man refuses to take a breathalyzer test and continues to throw a tantrum, banging his head on his...
Read more >
How to Handle Tantrums and Meltdowns
Learn how to handle a child's tantrum. Child Mind Institute provides family resources on effective ways to deal with kids throwing tantrums ......
Read more >
Tantrums: why they happen & how to respond
Toddlers have tantrums because they're overwhelmed by big emotions. Older children might not yet have learned safe ways to manage feelings.
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 Post

No results found

github_iconTop Related Hashnode Post

No results found