Hi,
Able to bind with bindItems thanks.
But issue i am facing is with the template. After performing operations on the odata response i store the dates in an array. As its an array it stores the dates in different indexes hence how can i give a fixed property to bind to a template and bind it to table.
var json2 = new sap.ui.model.json.JSONModel();
var tableid = sap.ui.getCore().byId("aa");
json2.setData(abc);
tableid.setModel(json2);
var oTemplate = new sap.m.ColumnListItem(
{cells: [
new sap.m.Text({text : json2.oData})
]
});
tableid.bindItems("/", oTemplate);
again binding individual elements is possible with [0] else it binds the entire array in each row of table as in screenshot.
Many Thanks for all your help