Radzen Expand Functionality

Hello All,

I'm using the Radzen Expand collapse functionality in my application can you just let me know how I can get the event of clicking the expand button for a particular row?

Not sure which component you are referring. If you are looking for the DataGrid you can check hierarchy demos.

I'm using the below component

The next demo shows exactly what you need.

I'm using the datagrid

<RadzenDataGrid @ref=filesStateContainer.fileStageGrid Data="@filesStateContainer.fileStageViewModels" TItem="FileStageViewModel" AllowVirtualization="true" Style="height:76vh" AllowAlternatingRows="true"
AllowColumnPicking="true" AllowColumnReorder="true" AllowFiltering="true" FilterMode="FilterMode.Simple" AllowGrouping="true" AllGroupsExpanded="@filesStateContainer.isStageExpanded"
AllowColumnResize="true" FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive" IsLoading="@isLoading" Count="@filesStateContainer.fileStageViewModels.Count()" Filter="@LoadData"
RowExpand="RowClick" AllowSorting="true" SelectionMode="DataGridSelectionMode.Multiple" GroupRowRender="OnGroupRowRender" Render="@OnRender" RowRender="@RowRender">

But whenever I adding a new file stage and doing the StateHasChanged all the rows are automatically expanded but I want them all to be collapsed?