Expand DataGrid on row click?

is it possible to expand the subitem when a row is clicked?

	<RadzenGrid @ref="_gridMeasures" AllowFiltering="true" AllowPaging="true" AllowSorting="true"
            Data="@(getMeasuresResult)" TItem="Measure" RowSelect="@gridMeasuresRowSelect" RowExpand="@gridMeasuresRowExpand">
	<Columns>...</Columns>			
	<Template Context="data2">
        <MeasureEditor Entity="@data2" @ref="_measureEditor" DataChangedAction="DataChangedAction" />
    </Template>
	</RadzenGrid>
			
    protected async Task gridMeasuresRowSelect(Measure args)
    {
        // expand row
        _gridMeasures.???();
    }
1 Like

There is no public method for this at the moment however we will add it in the next update.

3 Likes

Has this made it in? I'm trying to make certain rows auto-expand on page load.

Has the ability to expand a row with sub items been made possible yet? Thanks.

HI, exist now some possibilities how to expand row by code?

You can check this demo for more info: https://blazor.radzen.com/master-detail-hierarchy