DataGrid Column SetFilterValueAsync #1855

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

Originally created by @atholmes on GitHub (Sep 8, 2025).

After updating to v7+ from v6.6.4 I am unable to use SetFilterValueAsync or SetFilterValue with a DataGrid refresh for a column of type DateOnly with the property being DateTime. I get an argument mismatch, which I understand why. With that said, prior to v7 I have not had this problem. The weird part is that if I apply a filter to any column manually then run my code that uses SetFilterValueAsync, it works.

Screenshots

  • Code that runs the filter
    Image

  • Console output
    Image

Desktop:

  • OS: Windows 11
  • Browser: Chrome
  • Version 7+
Originally created by @atholmes on GitHub (Sep 8, 2025). After updating to v7+ from v6.6.4 I am unable to use SetFilterValueAsync or SetFilterValue with a DataGrid refresh for a column of type DateOnly with the property being DateTime. I get an argument mismatch, which I understand why. With that said, prior to v7 I have not had this problem. The weird part is that if I apply a filter to any column manually then run my code that uses SetFilterValueAsync, it works. **Screenshots** - Code that runs the filter <img width="717" height="202" alt="Image" src="https://github.com/user-attachments/assets/5bb89bb9-b110-45bd-99dd-f6f7b39c08f6" /> - Console output <img width="1078" height="138" alt="Image" src="https://github.com/user-attachments/assets/ed43bea7-f13f-4220-8791-088fd17328e9" /> **Desktop:** - OS: Windows 11 - Browser: Chrome - Version 7+
Author
Owner

@enchev commented on GitHub (Sep 9, 2025):

Indeed since v7 the DataGrid filtering is more restrictive and you should use property value for relevant column type.

@enchev commented on GitHub (Sep 9, 2025): Indeed since v7 the DataGrid filtering is more restrictive and you should use property value for relevant column type.
Author
Owner

@atholmes commented on GitHub (Sep 9, 2025):

Makes sense, thank you for responding.

@atholmes commented on GitHub (Sep 9, 2025): Makes sense, thank you for responding.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1855