Skip to Content
avatar image
Former Member

SAPUI5: Updating single table row binding

Hi guys,

I have a problem with my UI.

I am using a function that is returning the following structure:

In the UI I have two columns: "Organizations" and "Languages".

When I select a value in the Organization ComboBox, I load all langDesc values in the Language ComboBox (from the langList structure) on the same row.

The problem is that if I add more than one row in the table, all the values in the Language ComboBox are the same for each row and they are filled depending on the last value in the Organization ComboBox (and they should be different).

My question is: How can I get a different Languages list on each row, depending on the selected Organisation for that row.

SCN discussion.png (11.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Jan 06, 2015 at 01:28 PM

    Hi Grigor,

    It is like that, because you are using one instance of the combo box for all the rows.

    Intead you should create a new instance of the combobox for each row and then you can have different values selected.

    Best regards,

    Ivan

    Add comment
    10|10000 characters needed characters exceeded