change
Fires when a field value is updated through the set
method.
The
change
event is raised after the field value is updated. Calling theget
method from the event handler will return the new value.
Event Data
e.field String
The name of the field which changed.
Example - subscribe to the change event
<script>
var observable = new kendo.data.ObservableObject({ name: "John Doe" });
observable.bind("change", function(e) {
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(e.field); // will output the field name when the event is raised
});
observable.set("name", "Jane Doe"); // raises the "change" event and the handler outputs "name"
</script>