on 02-14-2017 8:28 PM
Hi,
i need to delete a row from a table (sap.m.Table). For the bind aggregation, i am using oDataModel, retrieving data from backend.
I want to temporarily remove data from table and after pressed save button, remove permanently from backend.
oDataModel has the "remove" method, but remove permanently.
Removing data temporarily i've tried using:
this.getModel().deleteCreatedEntry("/my_key") and
this.getView().byId("table").removeItem("myItem")
At first glance it works fine, but, when i checked changes using hasPendingChanges(), before send to backend, i found no changes.
Using JSONModel can remove data temporarily, but i would like to use oDataModel. All of others methods are done using oDataModel and changing to JSONModel i will need do it again.
Is it possible?
Thanks and regards,
Guilherme
Hi Guilherme,
I have the same requirement, did you find any solution for the above issue?
thanks
Rathish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.