Skip to Content
0

Binding data in Panel sapui5

Feb 08, 2017 at 05:46 AM

48

avatar image

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
}
})

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jun Wu Feb 08, 2017 at 05:55 AM
0

your view code?

did u debug?

Share
10 |10000 characters needed characters left characters exceeded