on 2009 Sep 08 5:28 AM
hi all,
i am using dropdownbykey to create selection list for the value range in the domain.
My requirement is to set a initial value in the selection list when the screen opens.As of now it is blank i want the first value in the domain to be defaulted when the screen opens.
Kindly tell me how to do that.
Hi,
If you want to display the first value in your dropdown, assign the index value as follows...in your WDDOINIT method.
NODE NAME->SET_LEAD_SELECTION_INDEX( INDEX = 1 ).
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
● selectedKey
Value from the value set that is selected in the list displayed in the dropdown box.
The following cases can occur:
○ DropDownByKey.selectedKey contains the initial value and the initial value is not contained in the value list: In this case the selected value is an empty string.
○ DropDownByKey.selectedKey contains a different value that is not in the value list: In this case this value is displayed in its internal format in the DropDownByKey field.
○ For the DropDownByKey.selectedKey-Attribut is set to isNullable=true in ContextNodeInfo: An empty entry is inserted in the first position in the DropDown list. When the value is selected, selectedKey is reset to the initial value and the isNull indicator is set for the attribute. If another value is selected, isNull is reset.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.