DataGrid DateTime Only Date Filter #461

Closed
opened 2026-01-29 17:37:40 +00:00 by claunia · 1 comment
Owner

Originally created by @serkanaslan34 on GitHub (Jul 10, 2022).

Hi there,
Im using RadzenDataGrid and im using LoadData event for getting data and filtering.
I have one DateTime filter column and i want to get every data for this date without time filter.
But i can only use Greater than or less than filter mode but there is one problem.
When i want to get only one day with filtering there are so many records after this data.
There is no way to get data only one date.
Can you add to dynamic-linq query generator with only date equals filter like this.

  query = query.Where(x => x.TransactionDate.Value.Date == DateTime.Today.Date) or 
  query = query.Where(x => x.ApprovalDate.Value.Date == new DateTime(2020,1,1,).Date));
Originally created by @serkanaslan34 on GitHub (Jul 10, 2022). Hi there, Im using RadzenDataGrid and im using LoadData event for getting data and filtering. I have one DateTime filter column and i want to get every data for this date without time filter. But i can only use Greater than or less than filter mode but there is one problem. When i want to get only one day with filtering there are so many records after this data. There is no way to get data only one date. Can you add to dynamic-linq query generator with only date equals filter like this. ``` query = query.Where(x => x.TransactionDate.Value.Date == DateTime.Today.Date) or query = query.Where(x => x.ApprovalDate.Value.Date == new DateTime(2020,1,1,).Date)); ```
Author
Owner

@Kuyaromeo commented on GitHub (Jul 27, 2023):

Closed and completed with no resolution. I just made an account to see NOTHING.

@Kuyaromeo commented on GitHub (Jul 27, 2023): Closed and completed with no resolution. I just made an account to see NOTHING.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#461