on 2022 Feb 15 9:52 AM
I have a sap.ui.table which is binded to a model/entityset. The table is made editable by making the input fields inside the columns editable. When the user changes the data in the table it triggers update_entityset automatically. I dont want that. I would like to edit the table and then press the button Save which then triggers sumbitChanges -> update_entityset. So how do I prevent automatic update?
The group where your changes are being sent is not set as deferred.
this.getModel("yourModel").setDeferredGroups(["changes", "yourgroupid"])
<br>
From the API Documentation:
Setting request groups as deferred.
Requests that belong to a deferred group will be sent by explicitly calling #submitChanges.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
68 | |
8 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.