cancel
Showing results for 
Search instead for 
Did you mean: 

setting the ddbk element

Former Member
0 Kudos

HI

I have a parent node BENEFITS with cardnly 0:n and child node PLAN with card 0:n, the node BENIFITS is the source for table and has one attributet country as ddbk , the table has say 3 records at runtime , however the requiremnt i have is when user in the first record say BEN 1 chooses country iIND it should automatically get enrolled for country US in the second record as well which is aso a ddbk ., however the drop down options for each record may chnage as per the BEN elmenet

rgds

Akeel

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You cannot achieve what you want using DropDownByKey element. You have to use DropDownByIndex. DropDownByKey will only let you define one collection in it's ModifiableSimpleType.

What you have to do is, you will have your Top Node (0.n), Singleton; and another internal node DropDownValues (0.n) Singleton False - which you can have whatever properties you want (you will have to bind the Text property of DDBI UI element). Write your method to populate the dropdown elements for each row within your TopNode, and code whatever you need to do using the onSelect event.

Hope it helps,

Daniel