Skip to Content
0
K C
Apr 18, 2016 at 05:02 AM

Cannot delete line from table with delete button

45 Views

Hello Experts,

I have created a table with delete functionality as per the type delete of table as below.

Unfortunately the delete functionality is not working on clicking the delete button, below is the code I have written in JS base on information I got online.

I am not able to get value in variable oRowData from the method oModel.getData because of which it is not recognize the splice method.

I have searched some site and was able to get this code implementation only to delete row, also I observed the table was created using Java Script as per code online but in my case I have created through layout editor in XML, is the the problem here?

Request you help here..

Will reward accordingly.

Attachments