Hi,
Thanks for your reply.
Still I am facing same issue. I am getting the following error message .
When I changed that code from
oHelpTable1.bindAggregation("rows", "/SalesOrders"); to
oHelpTable1.bindAggregation("rows", "/BusinessPartnerCollection('0100000000')/SalesOrders");
then I am getting Items list like below.
I am trying to bind the Table data in Detail.controller.js file like below.
_refresh : function (channelId, eventId, data) {
if (data && data.context) {
var currentRowContext = data.context.sPath;
this.getView().setBindingContext(data.context);
var tableid = sap.ui.getCore().byId("t1");
var url = currentRowContext + "/SalesOrders";
tableid.bindRows(url); (or)
/* tableid.bindAggregation("rows", url); */
var context = this.getView().getBindingContext();
var oModel = new sap.ui.model.json.JSONModel({
actionsEnabled : context && !!context.getObject()
});
this.getView().setModel(oModel, "cfg");
}
},
Then I am getting output like below.
In this way I can bind the rows but I can not bind the property.
How can we bind property in controller file?
Thank&Regards
Sridevi