DataGrid FilterOperator Clears with the Clear Button click

On the DataGrid if I have the Property set to one property on my Dto and then set my FilterProperty to something else, when I filter it, the filter operator is set to Contains and searches just fine, but when I hit clear it will clear the filter operator regardless if I have that set or not. If you go to your page Blazor DataGrid - Advanced Filter Mode | Free UI Components by Radzen and paste

RadzenDataGridColumn Property="@nameof(Employee.FirstName)" Title="First Name" FilterProperty="@nameof(Employee.LastName)"

this code over the Firstname column, click run and then click filter and just hit clear or filter then clear you will see this behavior. I don’t think that this was intended. I also, changed other column in my own data grids to see if we did something or if its a bug inside your grids, and it appears it is in your code somewhere.

Thanks for your continued support on this great product!

Nate

Thanks! We’ve fixed the problem and the fix will be released in our next update early next week:

1 Like