DataGrid Master Detail - How to keep details displayed after deletion


I am using a master-detail grid.

<RadzenDataGrid @ref="_grid" AllowFiltering="true" AllowPaging="true" PageSize="7" AllowSorting="true" RowClick="RowClick" ExpandMode="DataGridExpandMode.Single"
                Data="@_orders" TItem="Order" EditMode="DataGridEditMode.Single" RowUpdate="@OnUpdateRow" RowCreate="@OnCreateRow" @bind-Value="@SelectedOrders"
                ShowExpandColumn="false" ShowPagingSummary="true" AllowColumnResize="true" >
    <Template Context="order">
                    <RadzenDataGrid @ref="_gridDetail" AllowFiltering="true" AllowPaging="true" PageSize="5" AllowSorting="true" Data="@order.OrderDetails" 
                    TItem="OrderDetail" EditMode="DataGridEditMode.Multiple" RowUpdate="@OnUpdateRowDetail" RowCreate="@OnCreateRowDetail" AllowColumnResize="true"
                                    AllowColumnPicking="true" ShowPagingSummary="true" ColumnWidth="150px" >

I am selecting an Order and OrderDetails are displayed. I select an Order Detail and then click the edit button. Delete records also appears along with a few more options.

When I click the delete button;

After the deletion order details become hidden.

Here is the deletion code;

 async Task PassiveDetail(OrderDetail orderDetail)

        if (orderDetail == _detailToInsert)
            _detailToInsert = null;

        await _gridDetail.UpdateRow(orderDetail);

        await PassiveOrderDetailUseCase.ExecuteAsync(orderDetail);
        _orders = await ViewAllOrdersUseCase.ExecuteAsync(user);

Is there a way to make order details not hidden after deletion?

Thank you.