Here's the definition of the Grid:`
<RadzenDataGrid
@ref="grid"
Data="@details" TItem="DetailsModel"
AllowPaging="true" PageSize="20"
Density="Density.Compact"
EditMode="Radzen.DataGridEditMode.Single"
SelectionMode="DataGridSelectionMode.Single" @bind-Value=@selected
RowSelect="@OnRowSelect"
RowUpdate="@OnRowUpdate"
RowDeselect="@OnRowDeselect"
style="width:100%"
>
And this is the definition of my column:
<RadzenNumeric
@ref="numericHoev1"
@bind-Value="@data.BestD_Hoev1"
onclick="@OnClick"
onkeydown="@OnKeyDown"
Style="font-style:italic;
font-size:1rem;
outline:none;
border:none"
TabIndex="1000"
/>
The OnClick method fires only after the second. `
This is my OnRowSelect handler:
async Task OnRowSelect(DetailsModel d)
{
await grid.EditRow(d);
edited = d;
}