Hi all,
Trying to attach a function to the method attachPropertyChange on the sap.ui.model.odata.v4.ODataModel
onAfterRendering: function () {
var oModel = this.getView().getModel(); //based on sap.ui.model.odata.v4.ODataModel
oModel.attachPropertyChange(() => console.log(“hello”));
}
in the console it appears:
Has the event `PropertyChange` been deprecated on `sap.ui.model.odata.v4.ODataModel`?
Best regards