DataGrid Self-Reference Hierarchy RowSelect

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">
            <!-- <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>
            <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" />

Hi @mjjalala,

We've fixed this and the fix will be part of our next update Monday:


Thanks alot,
I have another question for DataGrid Self-Reference Hierarchy
How can I used cell Contextmenu to add new row without bind all data again only by add new row and open the curent arrow at the same

I don't think this is possible. You need to add the record to your collection and call the Reload() method of the DataGrid instance - grid.Reload().