DataGrid Master Detail Hierarchy (Multiple Row Expanded)

I have a Master Datagrid with @ref=@masterGrid and a Child Datagrid with @ref=@childGrid.

The issue I've been encountering is when multiple rows (from masterGrid) are expanded only the last expanded row can be updated by childGrid.Reload().

Maybe this is happening because @childGrid ref value is pointing to the last rendered grid.

Anyone encountered this what workaround did you do?
chrome_jWQFsaNIak

This is definitely mistake in our Master/Detail Hierarchy template - the expand mode of the master DataGrid should be ExpandMode=DataGridExpandMode.Single. We will correct this for the next update.

1 Like