Hi Experts,
I have got my oModel data in an array in the Component.js file. I have returned the array with an entity collection (PFA) and have bind the entity to the table with the code
aData = this.getOwnerComponent().getServiceRequestCollection();
console.log("table array", aData);
var oVizFrame3Model = new sap.ui.model.json.JSONModel(aData);
var oTable = oView.byId("idServiceTable");
oTable.setModel(oVizFrame3Model);
The table is displayed empty and from the console I found that "table array" is undefined. Some quick suggestions as to how to bind the data to the table would be really helpful.
Thanks,
Srinivasan
Hi,
It would be very helpful if the experts provide some suggestions regarding the same.
Thanks in advance,
Srinivasan
Any suggestions from other experts in the forum would be very helpful.
Add a comment