How to reload datagrid while DataGrid is null

Hi,

I am using radzen datagrid in my blazor project, sometimes my datagrid will be null according to search. But when I search back with the right data, my IEnumerable list has data, but couldn't reload the datagrid, because of showing datagrid is null
How can I do that? Is there any solution for this issue?

Thanks

Hi @Omar,

You can reload the variable/property used for DataGrid Data and execute StateHasChanged() for the page.

1 Like

Thanks for the responds