Skip to Content
avatar image
-2
Former Member

After clicking save only CRUD operations has to perform? how?

onRowsDeleteButton: function(oEvent) {

this.saveEnbaled();

var oTable = this.getView().byId("invoiceList");

var aSelectedIndices = oTable.getSelectedItems();

var oModel = oTable.getModel();

var aBatchtoDelete = [];

for (var i = 0; i < aSelectedIndices.length; i++) { var oContext = aSelectedIndices[i].getBindingContext().getPath(); oModel.remove(oContext, 'DELETE');

}

}

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer