I've found the solution based on your help, the correct way is:
sap.ui.getCore().getModel().read(a.sPath, null, {"$expand": "Items"}, true, function(response) { alert(response); } , function() { alert('error occured'); }
Thanks for the help
I've found the solution based on your help, the correct way is:
sap.ui.getCore().getModel().read(a.sPath, null, {"$expand": "Items"}, true, function(response) { alert(response); } , function() { alert('error occured'); }
Thanks for the help