❔ Bug in blazor?
Hello guys, i have encountered something strange in my blazor app. I'll try to explain it here.
So i have to tables with below a row which shows the totals. These tables almost share the EXACT same code, the only way in they differ is the entities which are used to fill them. (both are records)
As you can see in the image, only the second table shows the totals correctly by summing them up.
The user clicks a button, and this code gets executed, which fills the tables out.
7 Replies
Both tables use the exact same component and child components
The total row shows and calculates the sums of columns 2, 3 and 4. As you can see it works perfectly for the second table but not the first table, and here comes the strangest thing, when i leave out the
@if (CategoryLines is not null)
check,
and thus not show a spinner, it does show the totals for that table! Which is super strange because the second table does not require that!
Anyone an idea why this might be?Both tables use the exact same component and child componentsSo, why are we not looking at the code that generates the data?
because the data is correctly generated, thats why the tables are filled up, its the "totalrow" that gets the values from the specified columns, this is just calculated.
alrighty
so, what have you determined from debugging this?
that blazor is trash
Blazor Server or Blazor WASM?
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.