hi sir,
i am using below code but error is showing (json model is not a function)
onInit: function() {
debugger;
var sUrl = "http://services.odata.org/V3/Northwind/Northwind.svc/Categories?$select=CategoryID";
var oModel = new sap.ui.model.json.JSONMODEL(sUrl);
sap.ui.getCore().byId("tbldetail").setModel(oModel);
},
and my table is
<Table id="tbldetail">
<columns>
<Column>
<Text text="CategoryID"></Text>
</Column>
</columns>
</Table>
please help me and solve the problem and send me my mail