cancel
Showing results for 
Search instead for 
Did you mean: 

Adding a row into table from VALUE HELP DIALOG

S0024670220
Explorer
0 Kudos

Hi experts,

I have a requirement in which there will be a multiselect sap.ui.table(say table1). There will be a add row & delete row buttons in tool bar.

On click on add row button, I m opening value help dialog. In value help dialog there is a filter & another multiselect ui.table(say table2) where data is fetched from odata service. On rows selection, looping the tokens, i m updating table1 with json model n closing the value help dialog. So far it s fine. When I click add row button,

1.I want my already added entries to be selected in value help table.

2. When I click on delete row button, I m removing selected rows in table1(json model). These items should be unselected(but present) in table2.

In short any change in table1 should be reflected to table2 . Setting data from table2 to table1 has been achieved. Only table2 to table1 data communication, I m struggling to find a way.

I tried settokens to value help, whenever I add a row in table 1.it is adding a duplicate entry & not selecting the row.

Kindly assist.

Regards,

Sakthi

Accepted Solutions (0)

Answers (0)