on 08-01-2006 11:25 AM
hi
I want to insert the options in dropdown dynamicaly so can any one help me in this which dropdown i should use and byKey/byIndex and what code i need to write
Thanks
Ninad
Hi Ninad,
Check out this code:
Create node attribute of type DropDownByKey and then proceed like,
IWDAttributeInfo CityInfo = wdContext.nodeTravelData().getNodeInfo().getAttribute("Destination City");
ISimpleTypeModifiable cityType = cityInfo.getModifiableSimpleType();
IModifiableSimpleValueSet cityValueSet = cityType.getSVServices().getModifiableSimpleValueSet();
cityValueSet.put("1","Banglore");
cityValueSet.put("2","Delhi");
cityValueSet.put("3","Pune");
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
See your previous thread.
Kind Regards,
S.Saravanan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ninad
Use Drop down by index. Write an RFC to populate the drop down values and bind the output table to the drop down on your iview.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use forum search.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
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.