Skip to Content
author's profile photo Former Member
Former Member

Dynamic Dropdown key bind in the row

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

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 05:59 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2005 at 04:59 AM

    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. TableView

    Hope this helps,

    Best Regards,

    Nibu.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.