cancel
Showing results for 
Search instead for 
Did you mean: 

table-dropdown

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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