Hi Experts,
- I have created sap.ui.table.Table and then bind with xsodata service. I want to perform CRUD operations throgh createBatchOperation() method for create, update and delete operations then kept those operations into addBatchChangeOperations() .
- But I didn't submit above batch chages. I want to perform later on another Button handler named save. In detailed i have mentioned below.
// This is only for collect changes and show it on table, NOTE : Changes doesn't update untill click save Button.
submit : function() {
createBatchOperation("url","Method",newUserList[0]);
createBatchOperation("url","Method",editUserList[0]);
createBatchOperation("url","Method",newUserList[0]);
addBatchChangeOperations(changeOperations);
},
// When we click on save Buton changes will update on Backend.
save : function() {
oModel.submitChanges()
}
Above use case is my requirement please help me asap Thanks to all in Advance...
Thanks & Regards,
Lakshman.