Hello All,
I'm using sap.m.table with mode delete.
I have two functions to add and remove row from table.
AddRow() function works fine if I add multiple rows in table.
The problem is if I delete particular row, it gets removed from table and immediately if I add new row, I get an error as duplicate Id.

Add Row Function

Delete Row Function

Please let me know if I'm doing anything wrong.
Regards,
Priyanka