Can the value in the input field be edited when it is added to the Blazor DataGrid template column?

Answer:

Yes, set onkey:stoppropagation as true to edit the input field in the template column. Here is the code snippet for your reference,


<GridColumn HeaderText="Employee Image" TextAlign="TextAlign.Center" Width="120">

<Template>

@{

<div @onkeydown:stopPropagation="true">

<SfTextBox Value="Not Working">SfTextBox>

div>

}

Template>

GridColumn>


Find the sample for edit value in input field when added in the Blazor DataGrid template column here.



Loader.
Up arrow icon