Hi Denis,
Belew is the code I are using now:
createContent : function(oController) {
URL = "ui/test.xsjs/getData?after=20140101&before=20151231";
oModel = new sap.ui.model.json.JSONModel(URL);
oModel.attachRequestSent(function(){
console.log("attachRequestSent");
);
oModel.attachRequestCompleted(function(){
console.log("attachRequestCompleted");
});
}
But in the console I only see "attachRequestCompleted", and could not find "attachRequestSent".
Do you have any idea when the event attachRequestSent will be fired?
Thanks and best regards,
Tim