Dear Team,
When I using @bind-Value=@selectItem in DataGrid and click on arrow to show child item, the row selected,
My question is :
How can when pressing the arrow only fetch the data Hierarchy without selected row
when using @bind-Value=@selectItem
<RadzenDataGrid @ref="grid" AllowFiltering="true" AllowSorting="true"
@bind-Value=@selectItem AllowColumnResize="true" ExpandMode="DataGridExpandMode.Single"
Data="@employees" TItem="Employee" RowRender="@RowRender" LoadChildData="@LoadChildData">
<Columns>
<!-- <RadzenDataGridColumn TItem="Employee" Property="EmployeeID" Filterable="false" Title="ID" Frozen="true" Width="120px" /> -->
<RadzenDataGridColumn TItem="Employee" Title="Employee" Frozen="true" Sortable="false" Filterable="false" Width="300px">
<Template Context="data">
<RadzenImage Path="@data.Photo" class="rz-gravatar me-1" />
<strong>@data.TitleOfCourtesy @data.FirstName @data.LastName</strong>
</Template>
</RadzenDataGridColumn>
<RadzenDataGridColumn TItem="Employee" Property="Title" Title="Job Title" Width="240px" />
<RadzenDataGridColumn TItem="Employee" Property="HireDate" Title="Hire Date" FormatString="{0:d}" Width="160px" />
<RadzenDataGridColumn TItem="Employee" Property="City" Title="City" Width="200px" />
<RadzenDataGridColumn TItem="Employee" Property="HomePhone" Title="Home Phone" Width="200px" />
<RadzenDataGridColumn TItem="Employee" Property="Extension" Title="Extension" />
</Columns>
</RadzenDataGrid>```