Fires when data is changed
Example
var dataSource = new kendo.data.DataSource({
change: function(e) {
// handle event
}
});
To set after initialization
dataSource.bind("change", function(e) {
// handle event
});
Fires when an error occurs during data retrieval. The event arguments are the same as the ones of the error event of $.ajax().
Example
var dataSource = new kendo.data.DataSource({
error: function(e) {
// handle event
}
});
To set after initialization
dataSource.bind("error", function(e) {
// handle event
});
Fires when data request is to be made
Example
var dataSource = new kendo.data.DataSource({
requestStart: function(e) {
// handle event
}
});
To set after initialization
dataSource.bind("requestStart", function(e) {
// handle event
});
Event data
-
sender
: DataSource
- Reference to the dataSource object instance.