cancel
Showing results for 
Search instead for 
Did you mean: 

Drop down for multiple rows

Former Member
0 Kudos

Hi All,

I have a reuirement that i have to populate the drop down values in a table based on the value of other row. For example, if i hvae a table row called fruits, the drop down in the next colun should give me list of all fruits. and if the next row is sports, the drop down will get populated accordnigly.I have to manyally add rows.

I am stuck with the part that the dropdown gets populated for only the first row.If i add the second row, the drop down values get populated in the first row.

Thanks,

Pris

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

answered

ChrisPaine
Active Contributor
0 Kudos

Hello Pris,

Use a dropdown by index.

bind this to a non singleton subnode of the node that is bound to your table.

e.g.

shopping_list_node (bound to table)

--- attribute veg_or_fruit

-


subnode item_list

-


attribute key

-


attribute item_text

Populate the subnode according to the contents of the row.

Have a search in this forum for usage of dropdown by index - there should be a few examples.

Cheers,

Chris

Former Member
0 Kudos

Hi,

Your requirement is not much clear. Can you please explain it in a much better way.

Do you want to populate yor drop down in a table column next to input column of your table like when you enter any val;ue in first column you need drop down populates accordingly?

Thanks

Pradeep