on 02-11-2016 5:58 AM
Hi,
I have an master-detail application,Where in I click the submit button in the detail page the list in the master page should refresh and the new data should be added
1) reading the odatamodel as shown below
oODataModel.read("EntitySet", null, null, false, function(oData, oResponse)
{
oODataModel.refresh(true);
});
2) sap.ui.getCore().byId("myList_Id").setModel(oOdataModel);
Can you please share your project in jsbin or plunkr.
1. if you create new records on db----> Follow .create property in oData model.
2. if new records added successfully----> call the read service and bind the same in control.
Regards,
Karthik A
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Duplicate values - primary key of odata entry is not unique
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.