I am new in SAP UI5.
I have issue in refreshing data in Search result view.
I have two separate view Search and Result View , After Input value in Search field then i am displaying data in Result View.
Check the below Code.
var srvUrl = "proxy/http/XXXX:8064/sap/opu/odata/SAP/ZUI5_DEMO_SRV";
srvModel = new sap.ui.model.odata.ODataModel(srvUrl);
The above is working when i am writing in OnInit() Method but the same code is not working in case of Search Event at the time of press search button.
In advance thanks for the help .