on 08-11-2006 6:39 AM
hi,
i have created one table.In that there are two dropdown column .If i choose the first dropdown column value , i need only the related field values of the first dropdown to be appear in the second dropdown(i.e to create dropdown with dynamic values)
waiting for a positive reply...
Kiruthika.s
Hi,
In the OnSelect Action of the first dropdown get the current selected value by
wdcontext.current<dropdown1>element.get<attribute>;
and then generate the second dropdown using
IPrivate<viewname>.I<dropdown2>Node node=wdcontext.node<dropdown2>;
IPrivate<viewname>.I<dropdown2>Element element=wdcontext.create<dropdown2>Element;
element.set<attribute>(..);
.
.
regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You can set the value of the second dropdown at run time.
Do the assign in the first dropdown's onSelect action.
Kind Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Create an action for the first dropdown.
In the onactionSelect method get the value of the first dropdown as
wdContext.current<dropdown node name>element.get<attribute name>;
And populate the second dropdown appropriately.
-Rathna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.