title: SAPUI5: How to get an event notification in case of ODataModel changes?
body: <p>I am searching for an event that will be thrown if the ODataModel (at client side) will be changed.
  Problem is, that in my application are lots of different fields that are able to edit the model.
  In case of a model change I would have a function registered that enables a "Save" button.
  The "Save" button will call the submitChanges() of the model (I use the TwoWayBinding mode).</p>
  
  <p>Currently I only detected the "hasPendingChanges()" method, but no event I could register.</p>
  
  <p>What is the suggested solution to handle this problem?</p>
  
  <p>To handle the change in each "Input" control looks not to be a nice way, because it's easy to forgot some fields (at least if someone else will maintain the code).</p>
  
  <p>My current solutions looks similar to this now:</p>
  
  <pre><code>sap.ui.model.odata.ODataModel.extend("MyModel", {
    setProperty : function(sPath, oValue, oContext) {
    sap.ui.model.odata.ODataModel.prototype.setProperty.apply(this, [sPath, oValue, oContext]);
    // do something here
    }
  });
  </code></pre>