Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3273

Re: How to update the Content of a View while navigating and using Global paramters in SAPUI5

$
0
0

Then it is more easier I think -

 

// if you want to just update the binding with this "property", no need to call odata and set model as its already there I guess

//get the binding of the table, apply filter with new values and refresh the model


remove the filter from 3rd view and use the above in rowSelectionChange


some example code-


 var oTreeTable = this.getView().byId("TreeTableBasic");       var oBinding = oTreeTable.getBinding("rows");    var aFilters = [];  var oFilter = new sap.ui.model.Filter(sPath, sOperator, sValue1);  aFilters.push(oFilter);  oBinding.filter(aFilters);

Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>