If we create same row with taskId and try to delete the previous row it deletes the new created row.

In below Link Preview
https://ej2.syncfusion.com/javascript/documentation/treegrid/edit/#row

example :- 

1) create new row with TaskID-3

2) Delete a row with TaskID-3 and TaskName -Plan Budget

3) Newly Created Row gets delete.



1 Reply

JR Jagadesh Ram Raajkumar Syncfusion Team August 26, 2021 09:57 AM UTC

Hi Shubham, 

Greetings from Syncfusion Support. 

Query: If we create same row with taskId and try to delete the previous row it deletes the new created row. 
 
From the given details we found that, you have added a record with the same primary key column values. The CRUD actions are performed based on the primary key column values. So the primary key column values must be unique. 
  
  
Regards,
Jagadesh Ram 


Loader.
Up arrow icon