Filter clear not visible, for simple filtermode, when FilterProperty is different from Property in DataGrid #1826

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

Originally created by @PPXAlexJirges on GitHub (Jul 29, 2025).

Describe the bug
When a FilterProperty is set in a DataGridColumn that is not used as Property in any of the DataGridColumns the clear/reset button of the filter, in the filter bar of the DataGrid, will not appear. Only works in FilterMode.Simple

To Reproduce
1: open https://blazor.radzen.com/datagrid-simple-filter for demo
2: Edit Source with the following steps:
3: Remove Last Name Collumn (Line 34)
4: Add FilterProperty="LastName" in the FirstName Collumn (Line 33)
5: Run the code
6: Filter for name in First Name collumn
7: x for clearing the filter is missing
8: (optional) type text into Country filter to compare expected behaviour.

Expected behavior
the x for clearing the filter should appear

Screenshots
Image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version: 138.0.7204.101

Additional context
bug is caused by comparing Property to FilterProperty in RadzenDataGrid.razor, Line 491
was probably introduced by commit 977e5b8cb6 with changes to new FilterDescriptor() on line 2177 on 17.06.2025

Originally created by @PPXAlexJirges on GitHub (Jul 29, 2025). **Describe the bug** When a FilterProperty is set in a DataGridColumn that is not used as Property in any of the DataGridColumns the clear/reset button of the filter, in the filter bar of the DataGrid, will not appear. Only works in FilterMode.Simple **To Reproduce** 1: open https://blazor.radzen.com/datagrid-simple-filter for demo 2: Edit Source with the following steps: 3: Remove Last Name Collumn (Line 34) 4: Add FilterProperty="LastName" in the FirstName Collumn (Line 33) 5: Run the code 6: Filter for name in First Name collumn 7: x for clearing the filter is missing 8: (optional) type text into Country filter to compare expected behaviour. **Expected behavior** the x for clearing the filter should appear **Screenshots** <img width="1668" height="185" alt="Image" src="https://github.com/user-attachments/assets/2f292d1e-f9a3-461f-9c7d-e85c8cbd39f1" /> **Desktop (please complete the following information):** - OS: Windows - Browser: Chrome - Version: 138.0.7204.101 **Additional context** bug is caused by comparing Property to FilterProperty in RadzenDataGrid.razor, Line 491 was probably introduced by commit 977e5b8cb630a9ba8ef7772b66e07bc1db690346 with changes to new FilterDescriptor() on line 2177 on 17.06.2025
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1826