Hi, I'm trying to use the batch CRUD feature. However, it appears to be ignored for reads. I want it to batch up filter() and sort() calls, then execute them with one sync() call. Is this possible?
var dataSource = new kendo.data.DataSource({
batch: true,
transport: {
read: {
url: '/api/v1/items',
type: 'GET',
dataType: 'json'
}
},
serverPaging: true,
pageSize: 1,
serverSorting: true,
serverFiltering: true,
serverGrouping: true,
etc...
Then I'd like to call dataSource.filter(), dataSource.sort(), etc. with a final dataSource.sync() at the end to run the final query. Currently this is not working.
var dataSource = new kendo.data.DataSource({
batch: true,
transport: {
read: {
url: '/api/v1/items',
type: 'GET',
dataType: 'json'
}
},
serverPaging: true,
pageSize: 1,
serverSorting: true,
serverFiltering: true,
serverGrouping: true,
etc...
Then I'd like to call dataSource.filter(), dataSource.sort(), etc. with a final dataSource.sync() at the end to run the final query. Currently this is not working.