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

Re: Value binding for filter value from aggregation binding with extended syntax in xmlview??

$
0
0

You have to use some JavaScript code to do it.

You cannot do it in the XML view.

 

Try something like that in your controller:

 

var oView = this.getView();
var oTable = oView.byId("yourTableId");
sValue = this.getView().getModel('settings').getProperty('value3');
var oFilter = new sap.ui.model.Filter("field3", "EQ", sValue);
oTable.getBinding("items").filter([oFilter]);

Viewing all articles
Browse latest Browse all 8843

Trending Articles



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