!--a11y-->
Web
Dynpro DropDownByIndex API - IWDDropDownByIndex 
|
A DropDownByIndex UI element provides the user with a dropdown list box. You cannot select more than one entry from the selection list. The UI element consists of a text field, a button, and a selection list. An already selected list entry is displayed in the text field. When selecting the button, a list with all possible values is displayed. |
Display
|
For further information about the use of the dropdown list box using index binding, refer to the description of the Web Dynpro AbstractDropDown API.

When using a dropdown list box, always display this UI element alongside a label to ensure accessibility.
·
size
Specifies the display size of
the list. The size property
can be filled with the following values and is represented by the enumeration
type WDDropDownListBoxSize.
small |
The UI element is displayed in a small font. |
standard |
A default size is displayed. |

Additional
properties are defined in the corresponding superior classes. Refer to:
IWDAbstractDropDownByIndex,
IWDAbstractDropDown,
IWDUIElement, IWDViewElement.
Name |
Interface |
Type |
Initial Value |
Bindable |
Value Required |
IWDUIElement |
boolean |
true |
bindable |
No |
|
IWDAbstractDropDown |
boolean |
false |
bindable |
No |
|
size |
IWDDropDownByIndex |
WDDropDownListBoxSize |
standard |
bindable |
No |
IWDAbstractDropDown |
WDState |
normal |
bindable |
No |
|
IWDAbstractDropDownByIndex |
String |
|
bindable_mandatory |
Yes |
|
IWDUIElement |
String (TranslatableText) |
|
bindable |
No |
|
IWDUIElement |
WDVisibility |
visible |
bindable |
No |
|
IWDAbstracDropDown |
String |
|
bindable |
No |
See Web Dynpro IWDAbstractDropDownByIndex API.
See Web Dynpro IWDAbstractDropDownByIndex API.
For further
information, refer to
Data Binding of a
Dropdown List Box and Radio Button Group and
Code Examples of Data
Binding.
The UI element DropDownByIndex supports the development of mobile applications for pocket PCs and BlackBerry wireless handhelds (see Mobile Web Dynpro). For BlackBerry wireless handhelds, the dropdown list box is displayed as a WML tag <select>.
However, several properties supported in the desktop browser cannot be used. These include:
Variances of the properties
Properties |
Pocket PC |
BlackBerry wireless handheld |
enabled |
ignored |
ignored |
size |
ignored |
ignored |
state |
ignored |
ignored |
tooltip |
ignored |
ignored |
width |
ignored |
ignored |
Method Name |
Parameter |
Return Value |
Short Description |
bindingOfSize |
|
String |
Returns the path of the context element to which the size property is bound. Returns NULL if no binding exists. |
bindSize |
(String path) |
|
Binds the size property to the context node specified by a path. |
getSize |
|
WDDropDownListBoxSize |
Returns the value of the size property. |
setSize |
(WDDropDownListBoxSize value) |
|
Sets the value of the size property. |
Additional methods described in the following APIs are available using inheritance: IWDAbstractDropDownByIndex, IWDAbstractDropDown, IWDUIElement, IWDViewElement.

For detailed documentation of all inherited methods, see the documentation for the relevant APIs.
