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

Re: Bind data to table using filter

$
0
0

Hi,

 

Please mention "items" instead "rows" if you are using sap.m.Table.

 

var table = this.getView().byId("idProductsTable");

  var oBinding = table.getBinding("items");

  var oFilters = [ new sap.ui.model.Filter("CustId",sap.ui.model.FilterOperator.EQ, "'"+custId+"'") ];

  oBinding.filter(oFilters);

 

Regards,

Rumeshbabu S


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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