Suggestion helper for sap.m.Input
fields when used with an OData model.
Creates a multi-column suggest list for an sap.m.Input
field based on a ValueList
annotation. The ValueList
annotation will be resolved via the binding information of the input field.
If the annotation describes multiple input parameters, the suggest provider will resolve all of these relative to the context of the input field and use them for the suggest query. The suggest provider will write all values that are described as output parameters back to the model (relative to the context of the input field). This can only be done if the model runs in "TwoWay" binding mode. Both features can be switched off via the bResolveInput/bResolveOutput
parameter of the suggest function.
Node | Description |
---|
Method | Description |
---|---|
sap.m.InputODataSuggestProvider.suggest |
Param | Type | DefaultValue | Description |
---|---|---|---|
oEvent | sap.ui.base.Event | ||
bResolveInput | boolean |
SuggestProvider resolves all input parameters for the data query |
|
bResolveOutput | boolean |
SuggestProvider writes back all output parameters. |
|
iLength | int |
If iLength is provided only these number of entries will be requested. |