Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 8124

Re: Autocomplete box with OData service

$
0
0

I think you should be able to update the filter based on what the user has entered, either on LiveChange or suggest event.

 

Something like:

 

suggest: function(oEvent){     var sValue = oEvent.getParameter("suggestValue");     var oFilter1 = new sap.ui.model.Filter("name", sap.ui.model.FilterOperator.StartsWith, sValue);     oAutoComplete.getBinding("items").filter([oFilter1], sap.ui.model.FilterType.Application);
}

Viewing all articles
Browse latest Browse all 8124

Trending Articles



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