Dear Experts,
I am new to the XML Views , and stuck in one place.
Currently I am doing an Master Details Fiori Application and binding the Header data to the list of the master view.
the data is coming correctly in my master View.
Now i have a requirement that i have to read the odata result in one of the json model , in the master controller but i am not getting how to get it.
In the JS view , we use to set the json model using the code
oJSONDetailModel = new sap.ui.model.json.JSONModel();
oJSONDetailModel.setData({
modelDataDetail : oJSONModel.oData.modelData[0]
});
But not getting how to do it in XML Views.Please help.
Regards,
Vikash