Side note: The master datagrid has the expandmode set to single, this is the reason only 1 child datagrid is shown at a time. When removing the expandmode single multiple child datagrid can be shown at the same time.
In my case the child datagrids are of type -> DataGrid InLine Editing
Now the issue is that when multiple inline edit datagrids are shown, only the last expanded works. I think this is because all the inline edit datagrids have the same @ref on component level.
The structure looks something like this,
Take for example a project that has 5 items, and each item has 2 appointments.
<RadzenDataGrid Data="project.Items">
<Template Context="item">
<RadzenDataGrid Data="item.Appointments" @ref="grid">
Inline columns and such
</RadzenDataGrid>
</Template>
</RadzenDataGrid>
For example grid.EditRow(order) is used inside Async Task EditRow. But there are multiple grid objects in my case, and my assumption is that the latest is used.
I would like to know if and how it would be possible to make this work, any thoughts?
Your observation is correct - in line editing in hierarchical mode is supported only in single expand mode by default in our template. To support this in multiple expand mode you need to change how the reference are kept and retrieved - most probably by data item, not as simple variable.