MudBlazor: MudDataGrid regressions in v6.2.0
Users have reported the following regressions in MudDataGrid since v6.2.0
- With the example here: https://dev.mudblazor.com/components/datagrid#grouping It is already grouped but I can still select “Group” for the column “Molar mass” which results in an error. (reported by @dennisrahmen)
- I found that GroupExpanded=“true” does not do anything as you can see here the groups are still collapsed on load. (reported by @dennisrahmen)
- When I use Serverdata with filter the get serverdate is not called when using filtermode ColumnFilterMenu and ColumnFilterRow It is working with filtermode Simple. (reported by @lfhenrl)
- When the column type/data is DateTime the filter popup is not showing anything. (reported by @lfhenrl)
- PropertyColumn with a nullable datatype causes NullReferenceExceptions with null values (reported by @HClausing)
- #6621 (reported by @joelmnz)
- Every time I open the filter menu/popup It add a new filter definition. My suggest is to only add it when I push the Filter/apply button and the Value is not null. (reported by @lfhenrl)
- It should be possible to set the
@keyfor each row/cell (@tjscience)
_Originally posted by @henon in https://github.com/MudBlazor/MudBlazor/issues/6049#issuecomment-1467660694_
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 26 (7 by maintainers)
Is there any code snippet for
Looks like this is the only serious bug left? The rest in this list sound more like an enhancement. And when this one is fixed I believe we can do a stable release?
I kinda want to add this to the list too, since it worked prior 6.2.0 https://github.com/MudBlazor/MudBlazor/issues/6621
Great, I’ll see if I can help with the rest of the regressions.
@henon I have a branch that fixes the
GroupExpanded=trueregression, it’s missing relevant tests for now, I intend to add them later, but it needs PR #6592 merged first so I hope you can find the time to check it out.@HClausing yeah, haven’t tested it but I think it should do the trick, and even without the the null-coalescing operator
item.Grouping.Key?.ToString() == "Nonmetal" || item.Grouping.Key?.ToString() == "Other"