The DataGrid filter is reset when its container is redrawn

Dotnet blazor DataGRid.
The DataGrid filter is reset/clean when its container is redrawn. The sorting is not reset, but the filter is reset.