cancel
Showing results for 
Search instead for 
Did you mean: 

Fill Table dropdown based on another dropdown in table

Former Member
0 Kudos

HI experts,

I am having a context like this

MainNode

- Attr1

- Attr2

- SubNode1

- Attr1

- SubNode2

- Attr1

I have binded this to a table control.In that table there are 2 dropdowns.One base on "SubNode1" and another "Subnode2".I am fill the first subnode using supply function. I need to fill the second dropdown based on the value selected in the first dropdown in table. How to achieve this in table control.

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member187452
Contributor
0 Kudos

HI,

I think your requirement will get fulfilled by using OVS for subnode2.

So based on value from Subnode1 you can fill the OVS for subnode2.

Regards,

Bharat.

ChrisPaine
Active Contributor
0 Kudos

Hi Karthi,

use the on select event of the first dropdown to populate the values in the second dropdown.

Should be pretty simple.

Let me know if you have issues.

Cheers,

Chris

Former Member
0 Kudos

Hi Chris,

Ya I know that. My requirement is this.

I have two lines in table display.When I select some value in dropdwon1 of the first line in table,based on this I need to fill the dropdown2 of line one.

If I select some other value in second line's dropdown1 then some other values in dropdown2 should be filled.

Thanks & Regards,

Karthik

ChrisPaine
Active Contributor
0 Kudos

Hi,

if the sub nodes are not singleton then they should be completely dependent on the element that they are selected for. (independent of other elements)

I use this very same technique to have country and region as dependent selectable dropdowns in a table.

Cheers,

Chris