Datagrid exapand row closes and can't expand again

I have a datagrid which sometimes received updates realtime. No problem, all the data I update also updates in the datagrid.
However, I also have expandable rows where there is another datagrid with some other information.
When I expand a row, then some information comes in and I update the data inside the expandable row. The row collapses and then I cannot expand it again, the arrow is still pointing downwards.

Not sure how the DataGrid is update however you might need to call Reload() or StateHasChanged().

@RagnarSmari I am having a similar issue. I have master-detail data grids. When I insert a new row to details and save it, I manage to keep on the same page but the parent row is collapsed. Have you solved your issue?

Sorry for very late response but we went another way design wise and thus ditched the idea.
We moved the detail table to another place where it wasn't adding a new row or updating a value in a row.
Have you solved your issue somehow?