In the documentation here:
http://docs.kendoui.com/api/framework/datasource
You state under the transport.update section (and probably read, create and delete too) you state:
It should say "data: options.data," not "data: options,".
http://docs.kendoui.com/api/framework/datasource
You state under the transport.update section (and probably read, create and delete too) you state:
var
dataSource =
new
kendo.data.DataSource({
transport: {
update:
function
(options) {
// make AJAX request to the remote service
$.ajax( {
url:
"/orders/update"
,
data: options,
success:
function
(result) {
// notify the DataSource that the operation is complete
options.success(result);
}
});
}
}
});
It should say "data: options.data," not "data: options,".