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