Hi guys,
I have a sap.m.Table on screen, and I have defined the delete handler:
delete: oController.deleteRule,
Here's my deletion handler method:
deleteRule: function(evt){ evt.getSource().removeItem(evt.getParameter("listItem")); },
It works for removing the item from table, but when I add new entry to the model of table,
I got "adding element with duplicate id" error.
So I don't know what's the correct way to remove one row from sap.m.Table.
Please help advice.
Regards,
Aaron.