If I have a data source on with serverPaging: false and the following object:
When I call
the pageSize property is removed from my params object. This is due to line 6817 in kendo.all.js, version 2013.3.1315, highlighted below:
var
params =
{
"date"
:
"2013-03-13T07:00:00.000Z"
,
"region"
:0,
"pageNumber"
:1,
"pageSize"
:10,
"sortBy"
:0,
"sortOrder"
:0
};
myDataSource.read(params),
if
(!that.options.serverPaging) {
delete
options.take;
delete
options.skip;
delete
options.page;
delete
options.pageSize;
}
I would love to set serverPaging: true and avoid the running of this code, but it causes
an infinite loop, continuously requesting reloading of my data from the server,
so I must set it false. I do not have the time to post about that separate problem
unfortunately, but it is very concerning.
Regardless, seems like properties on user-created data objects being passed to the .read() method
should never be deleted.