diff --git a/Radzen.Blazor/RadzenDropDownDataGrid.razor.cs b/Radzen.Blazor/RadzenDropDownDataGrid.razor.cs index 282b1f8976a..8f132cce60d 100644 --- a/Radzen.Blazor/RadzenDropDownDataGrid.razor.cs +++ b/Radzen.Blazor/RadzenDropDownDataGrid.razor.cs @@ -654,6 +654,8 @@ async System.Threading.Tasks.Task Clear() if (Disabled) return; + var canRequest = searchText != null; + searchText = null; internalValue = default(TValue); selectedItem = null; @@ -669,7 +671,12 @@ async System.Threading.Tasks.Task Clear() await grid.SelectRow(null); } - StateHasChanged(); + if (canRequest) + { + await OnLoadData(new Radzen.LoadDataArgs() { Skip = 0, Top = PageSize, OrderBy = "" }); + } + + StateHasChanged(); } string previousSearch;