Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var newData = [ {name:"Matt", age:"22", married:"false"}, {name:"Marr", age:"undefined", married:"false"}, {name:"John", age:"34", married:"true"} ]
- var oModelJs = new sap.ui.model.json.JSONModel(newData);
- this.getView().byId("tableId").setModel(oModelJs);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement