Problem:
Once we are in edit mode on a
row, within the Syncfusion Blazor Grid, we are unable to exit edit mode.
Using Edit
Toolbar:
I can click edit on a row
to enter edit mode but if I try to click update with or without making an edit,
I am then unable to exit edit mode. But I can use the cancel button to exit
edit mode.
Using Double
Click to Edit:
When double-clicking
the cell I am able to enter edit mode but clicking outside of the row or
attempting to edit another row will not allow me to exit edit mode from the
initially double-clicked row.
Solution:
Make
sure that you have defined PrimaryKey column in Grid as the default edit
/ delete / insert actions in Grid will take place based on PrimaryKey column
value only. Primary key column can be defined using IsPrimaryKey boolean property of
GridColumn and it must be defined to any one of available column whose values is unique.
Refer
our UG documentation for your reference
https://blazor.syncfusion.com/documentation/datagrid/editing/