Hi,
I basically need to know if the JSON model of my m.List changed.
How can i do this?
Alternately, if I get an event that tells me if the items were added or removed from my sap.List will also do.
I need to update some other controls based on the change in my JSON model.
Please help.
Thanks
Amjad
What you probably want to do is to subscribe to the change event of the binding. Try something like:
oList.getBinding("items").attachChange(myCallback);
- Max
you can have an object which has the original model and another object which contains the modified model and then compare them to see if they are still equal or not.
Add a comment