cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Dropdown key bind in the row

Former Member
0 Kudos

hi all,

i am facing a typical scenario where, <b>for each row in a table of 10 cells i have 1 cell with dropdownbykey control. the requirement is that based on the row's data the dropdownkey's content differs. ie.,

row 1's -> dropdownkey control's content can have x,y,z

row 2's -> dropdownkey control's content can have a,b,c

.

.

.

.

row z's ->dropdownkey control's content can have m,n,c</b>

Now problem is that if each row's dropdown content doesnt change then i can bind the simple type to the cell, which would have the same dropdown values for all the row's.

BUT in my case each row's dropdown key value differs based on some XYZ condition (fetch data from bapi/backend).

Could anyone suggest me the alternative or solution for this problem.

Thanks,

Raghavendra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hello Raghavendra,

insert DropDownByIndex ui in one of the cells. now create a node(B) of type nonsingleton inside the node(A) that u have bound to the table, and insert an attribute of type string (text). now create elements of B and add, the dropdown will be populated with the no. of elements that u create.

Regards,

Piyush.

Former Member
0 Kudos

Thanks Piyush & Nibu for your help..

- Raghavendra

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Raghavendra,

You cannot use DropdownByKey for this functionality. Instead you can use DropdownByIndex for achieving this. This query may help help you in this regard.

Hope this helps,

Best Regards,

Nibu.