cancel
Showing results for 
Search instead for 
Did you mean: 

how to restrict the selected value for perticular row in dropdown by index.

Former Member
0 Kudos

Hi All,

I had a table with dropdown list by index, and i created separate contex for table and dropdown, in dropdown we have created 10 values as default, from dropdown contex attribute.

when i select one vlaue from the table coloumn dropdown list and populate output in next coloumn,

once the output displayed ,the remaing dropdown list values in the table shown as same from the selected one.

how can i restrict the selected value for perticular row.

Thanks,

raju.

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

I think you need to read up on how the data binding works differently for DropDownByKey and DropDownByIndex:

http://help.sap.com/saphelp_nw70/helpdata/EN/af/434941db42f423e10000000a155106/frameset.htm

You see each DDLBIndex in your table is bound to the same context node and getting their selected value set by the same LeadSelection. Might I suggest that a DropDownByKey is generally a better choice for usage within a table as you describe. That way you bind the selectedKey attribute directly to one of the attributes in the same context node that the table UI element is bound to.

Answers (0)