Bug: DataGrid filtering with "CheckBoxList with OData" on null navigation properties not working #1838

Closed
opened 2026-01-29 17:59:15 +00:00 by claunia · 0 comments
Owner

Originally created by @agateeno on GitHub (Aug 13, 2025).

Describe the bug
Filtering a column with CheckboxList using OData with a nullable navigation property causes error, crashing the application

To Reproduce
Using the "CheckboxList with OData" example, edit the source:

  • creating a new column in line 19
    <RadzenDataGridColumn Property="Employee.Employee1.LastName" Title="Employee1Demo" />
  • edit the line 39
    var result = await service.GetOrders(filter: args.Filter, top: args.Top, skip: args.Skip, orderby: args.OrderBy, count: true, expand: "Customer,Employee($expand=Employee1)");

Expected behavior
Just like Excel, if there are null values, the first filter value should be "(null)", so the end user could get all rows with null

Screenshots
Image

Image
Originally created by @agateeno on GitHub (Aug 13, 2025). **Describe the bug** Filtering a column with CheckboxList using OData with a nullable navigation property causes error, crashing the application **To Reproduce** Using the "CheckboxList with OData" example, edit the source: - creating a new column in line 19 `<RadzenDataGridColumn Property="Employee.Employee1.LastName" Title="Employee1Demo" />` - edit the line 39 `var result = await service.GetOrders(filter: args.Filter, top: args.Top, skip: args.Skip, orderby: args.OrderBy, count: true, expand: "Customer,Employee($expand=Employee1)");` **Expected behavior** Just like Excel, if there are null values, the first filter value should be "(null)", so the end user could get all rows with null **Screenshots** <img width="1891" height="855" alt="Image" src="https://github.com/user-attachments/assets/2f594190-1424-44f2-a303-f04780882bab" /> <img width="1433" height="464" alt="Image" src="https://github.com/user-attachments/assets/b228d57a-98ba-4f04-bafd-8b4d68f4e1c1" />
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1838