Hi Ton That Hung,
Thanks for contacting Syncfusion support.
From the sample, we could see that you are performing the CRUD
without a primary key column which is mandatory for EJ2 Grid editing. So, we suggest
setting a column as a primary key column that should have unique values to
overcome the reported issue. Please refer to the below code example and
documentation link for more information.
|
<ColumnDirective
field="OrderID"
isPrimaryKey="true"
headerText="Order ID"
width="120"
textAlign="Right"
></ColumnDirective>
|
https://ej2.syncfusion.com/react/documentation/grid/editing/edit/#editing
Please get back to us if you need further assistance on this.
Regards,
Pavithra S
If this post is helpful, please consider Accepting it as the
solution so that other members can locate it more quickly.