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

Add suggestion within control

$
0
0

Hi

 

I've this following example and one of the autocomplite event is suggest & value and I want to add the code of  it inside the new control and not to put

it in the constructor , how can I do that ?

 

I mean instead of using value like following call the value method inside the control and not in the constructor it like following

var aC = new sap.ui.commons.AutoComplete({
maxPopupItems: 15,
displaySecondaryValues: true,
value: {
path: "/path",
mode: sap.ui.model.BindingMode.OneWay,
formatter: function(path) {
.....

Joerg

 

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.commons.AutoComplete

 

 

 

JS Bin - Collaborative JavaScript Debugging


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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