Skip to content

Commit

Permalink
DataGrid CheckBoxList filter values ordered by default
Browse files Browse the repository at this point in the history
  • Loading branch information
enchev committed Oct 6, 2024
1 parent 4d85744 commit 49567ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Radzen.Blazor/RadzenDataGridHeaderCell.razor
Original file line number Diff line number Diff line change
Expand Up @@ -248,11 +248,11 @@ else
query = query
.SelectMany(DynamicLinqCustomTypeProvider.ParsingConfig, property)
.Select(DynamicLinqCustomTypeProvider.ParsingConfig, Column.FilterProperty)
.Distinct().Cast(typeof(object));
.Distinct().OrderBy("it").Cast(typeof(object));
}
else
{
query = query.Select(DynamicLinqCustomTypeProvider.ParsingConfig, property).Distinct().Cast(propertyType ?? typeof(object));
query = query.Select(DynamicLinqCustomTypeProvider.ParsingConfig, property).Distinct().OrderBy("it").Cast(propertyType ?? typeof(object));
}

filterValuesCount = query.Count();
Expand Down

0 comments on commit 49567ad

Please sign in to comment.