Skip to Content
avatar image
Former Member

sap.m.Table - Adding new rows from OData get request

Hi all,

I`m trying to add new rows to a table. The rows should be added after the user clicks an icon at any row of the table. As soon as the icon is clicked, 1-n rows should be added to the current index. I get the new rows from the same OData service which is binded to the table by using an additional filter.

I am using 'bindItems' on the table to add the filter and the new rows to the table. The problem is that the whole table reloads with 'bindItems' and

1. It's not a new user experience to see the complete table reloading every time one entry is expanded or collapsed

2. All table selections done before are gone.

I wonder if there is any other method / way to show these new rows without reloading the table / using 'bindItems'?

A behavior like the standard m.Table growing feature would be great. The growing function also calls a get request on same Odata service but it keeps the selections and only displays next rows.

Any help is appreciated.

Thanks and regards,

Oezlem

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers