Skip to Content
avatar image
Former Member

Binding data in Panel sapui5

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 08, 2017 at 05:55 AM

    your view code?

    did u debug?

    Add comment
    10|10000 characters needed characters exceeded