null filters-sorts of LoadDataArgs in RadzenDropDownDataGrid #1904

Closed
opened 2026-01-29 18:00:01 +00:00 by claunia · 3 comments
Owner

Originally created by @Hamid-kadkhoda on GitHub (Nov 9, 2025).

{"Skip":0,"Top":19,"OrderBy":"","Filter":null,"Filters":null,"Sorts":null}

When using RadzenDropDownDataGrid with dynamic data loading (via LoadData event), the LoadDataArgs parameter contains null values for the Filters and Sorts properties, even when filters or sorting are applied through the UI.
Expected Behavior

When a user applies filters or sorting in the dropdown data grid, the LoadDataArgs.Filters and LoadDataArgs.Sorts properties should contain the corresponding filter/sort expressions
These properties should be populated so that server-side filtering and sorting can be implemented

Actual Behavior

LoadDataArgs.Filters is null regardless of applied filters
LoadDataArgs.Sorts is null regardless of applied sorting
This prevents proper implementation of server-side data loading with filters and sorting

Steps to Reproduce

Create a RadzenDropDownDataGrid component with LoadData event handler
Enable filtering and/or sorting on grid columns
Apply a filter or sort through the UI
Inspect the LoadDataArgs parameter in the LoadData event handler
Observe that Filters and Sorts properties are null

Originally created by @Hamid-kadkhoda on GitHub (Nov 9, 2025). {"Skip":0,"Top":19,"OrderBy":"","Filter":null,"Filters":null,"Sorts":null} When using RadzenDropDownDataGrid with dynamic data loading (via LoadData event), the LoadDataArgs parameter contains null values for the Filters and Sorts properties, even when filters or sorting are applied through the UI. Expected Behavior When a user applies filters or sorting in the dropdown data grid, the LoadDataArgs.Filters and LoadDataArgs.Sorts properties should contain the corresponding filter/sort expressions These properties should be populated so that server-side filtering and sorting can be implemented Actual Behavior LoadDataArgs.Filters is null regardless of applied filters LoadDataArgs.Sorts is null regardless of applied sorting This prevents proper implementation of server-side data loading with filters and sorting Steps to Reproduce Create a RadzenDropDownDataGrid component with LoadData event handler Enable filtering and/or sorting on grid columns Apply a filter or sort through the UI Inspect the LoadDataArgs parameter in the LoadData event handler Observe that Filters and Sorts properties are null
Author
Owner

@enchev commented on GitHub (Nov 10, 2025):

There is no filtering on DropDownDataGrid columns - the filtering in this component is performed with different UI. You can use args.Filter and args.OrderBy as shown in our demo:
https://blazor.radzen.com/dropdown-datagrid?theme=material3#custom-filtering-with-loaddata

@enchev commented on GitHub (Nov 10, 2025): There is no filtering on DropDownDataGrid columns - the filtering in this component is performed with different UI. You can use args.Filter and args.OrderBy as shown in our demo: https://blazor.radzen.com/dropdown-datagrid?theme=material3#custom-filtering-with-loaddata
Author
Owner

@Hamid-kadkhoda commented on GitHub (Nov 10, 2025):

so we should not use SortProperty of RadzenDropDownDataGridColumn ?

@Hamid-kadkhoda commented on GitHub (Nov 10, 2025): so we should not use SortProperty of RadzenDropDownDataGridColumn ?
Author
Owner

@Hamid-kadkhoda commented on GitHub (Nov 10, 2025):

in demo , we do not use custom Columns that implementing RadzenDropDownDataGridColumn like this:

<Columns>
    <RadzenDropDownDataGridColumn Property="Name"
                                  SortProperty="Name"
                                  Width="180px"
                                  Title="Name" />

    <RadzenDropDownDataGridColumn Property="GroupName"
                                  SortProperty="Group.Name"
                                  Width="180px"
                                  Title="Group" />

</Columns>
@Hamid-kadkhoda commented on GitHub (Nov 10, 2025): in demo , we do not use custom Columns that implementing RadzenDropDownDataGridColumn like this: <Columns> <RadzenDropDownDataGridColumn Property="Name" SortProperty="Name" Width="180px" Title="Name" /> <RadzenDropDownDataGridColumn Property="GroupName" SortProperty="Group.Name" Width="180px" Title="Group" /> </Columns>
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#1904