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

Re: Bind Read Results to Table

$
0
0

Hi, Ryan.

 

I think you should use Filter option of bindRows method. Something like the following:

 

var oFilter = new sap.ui.model.Filter("query_field", sap.ui.model.FilterOperator.EQ, "query_value");

oSearchTable.bindRows("/SearchLotSet", null, null, [ oFilter ]); 

 

where "query_field" is the name of the field you want to use as a filter and  "query_value" is the value of "query_field" for filter.

 

You can use multiple filters. Just pass them to bindRows method separated by commas, for example,  ( [ oFilter1,oFilter2, oFilter3  ] )

 

Hope this helps.


Viewing all articles
Browse latest Browse all 8720

Trending Articles



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