Advertisement
Guest User

Untitled

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