or
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); } }); } }});ds = new kendo.data.DataSource( { transport: { read: { url: params.readPath } }, serverPaging: true, serverSorting: true, pageSize: 100, schema: { id: "c0", data: "results", total: "count", parse: function(data) { params.fields = data.fields; params.onSuccess(params); return data; } } }); ds.read();