on 02-08-2017 5:46 AM
I am try to bind data in Panel sapui5, but it not binding in the Panel.
code which I am trying here:-
jQuery.ajax({
type : "GET",
url : URL,
dataType : "json",
async : false,
success : function(data) {
console.log(data);
oModel1 = new sap.ui.model.json.JSONModel();
oModel1.setData({"dataDetails" : data});
sap.ui.getCore().byId("panel1").setModel(oModel1);//binding data in panel
}
})
your view code?
did u debug?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.