on 04-02-2007 11:08 AM
Hi All,
I intend to get a column from a table as a dropdown in my WebDynPro form.
Can someone tell me how to proceed.
Regards
Nikhil Bansal
Hi Nikhil
Right Click on your RootUIElementContainer and choose. Apply Template..
In the next step choose Table,
In the next step Select your Context
in the next step you can see the summary there you can change your
columns from Textviews to Dropdowns
Regards
Abhimanyu L
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil
You have to add a value set to your Context Attribute where it is binded.
ISimpleTypeModifiable myType=wdContext.getModifiableTypeOf("<Attribute>");
//Set allowed values for this data type
IModifiableSimpleValueSet values=myType.getSVServices().getModifiableSimpleValueSet();
values.put("0","January");
values.put("1","February");
values.put("2","March");
values.put("3","April");
values.put("4","May");
values.put("5","June");
values.put("6","July");
values.put("7","August");
values.put("8","September");
values.put("9","October");
values.put("10","November");
values.put("11","December");
Regards
Abhimanyu L
Hi,
This is simple
When you create the table From the template there after selecting ur column names in the template wizard u found the option as DropdownbyIndex and click finish then your output of table columns would displayed as a DDIs.
it might helps you.
Thanks,
Lohi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nikhil,
You can create a dropdownbyIndex UI element and bind it to a context node. Then create elements for the node for each data to be displayed on the drop down.
regards
Shyam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.