In a filterable Grid, if a column is not bound to a field from the model the Grid uses, it throws with:
Error: System.ArgumentNullException: Value cannot be null. (Parameter 'nullableType')
Reproduction: https://blazorrepl.telerik.com/GyEUlFEs04AUJoJ601.
The issue is reproducible :
===
ADMIN EDIT
===
A possible workaround for the time being is to set the FieldType of the column: https://blazorrepl.telerik.com/wSugvFui10jhcpZy00.
Hi Mike,
I confirm that the bug was fixed for the TreeList too. Here is a test page: https://blazorrepl.telerik.com/cyYCutaW43pc6IEb34
Please make sure the column has Filterable="false" and the app is actually using the latest version.
Regards,
Dimo
Progress Telerik
Do you have a stake in the designеr-developer collaboration process? If so, take our survey to share your perspective and become part of this global research. You’ll be among the first to know once the results are out.
-> Start The State of Designer-Developer Collaboration Survey 2024
@Dimo
Before we upgrade to v6 it was perfectly working.
@Aldo
A Field configuration like @nameof(RequestListItem.M136.APMcsfirma) is invalid. It assumes that RequestListItem has a property APMcsfirma, which is not true. Please check the KB article about binding to nested (navigation) properties.
Hi, we have the same problem with columns bound to a subfield from the model.
RequestListItem is my model that has its fields, one of these is an object (M136) with fields
So, this works
<GridColumn Field="@nameof(RequestListItem.Field)"
This raise an exception even with the workaround (FieldType)
<GridColumn Field="@nameof(RequestListItem.M136.APMcsfirma)" FieldType="@typeof(string)"
The grid is showed but fields value is always null and if I click on column header to sort I get