cancel
Showing results for 
Search instead for 
Did you mean: 

refresh odata in selected table lines sapui5

0 Kudos

Hi.

I have report with ListReport and ObjectPage.

1) When I Selected some tables items and change data on ListReport, How can I refresh only selected items?

2) When I changed data on ObjectPage and returned back to ListReport, How can I to know that data changed and refresh selected item then?

Now I do this, but it refresh whole table:

this.extensionAPI.refreshTable();

And this doesn't work for individual lines:

_RefreshTableLines: function(oEv){
    for (var key in this._table.getSelectedItems()){
        this.extensionAPI.refreshTable(key.getId());
    }
}

Could you advise me the best way, please?

View Entire Topic
Joseph_BERTHE
Active Contributor
0 Kudos

Hello,

You have to use Side effet to accomplish what you want : https://ui5.sap.com/#/topic/18b17bdd49d1436fa9172cbb01e26544

Regards,

Joseph