I am using Kendo UI for a long while (months ago) and I built web app prototypes. Usually I use "serverSorting" and "serverFiltering" options to "true" as I do theses operations on my servers.
This worked fine until I began using KendoUI's last version (I am using kendo_2013.2.716 and jquery-1.9.1.min.js). Since that moment I realized Kendo Datasource or Grid (through Datasource, I guessed) wasn't sending field "field" in "sort object". Before now it was sending object containing { dir = 'asc', field = 'id'}, p.e., but now it is sending { dir = 'asc', compare : null }
Also, when I debug var "options" in parameterMap: function(options, operation) I see it isn't containing "field" which I am trying to sort by (I attach a screenshot about "options" containing)
Also, when ServerFiltering is true, I noticed field "field" in avoid and removed from array and don't sent to server, so I must use another variable name as "myfield" or whatever. Is this problem familiar to you?
Thanks for your attention.
Kind Regards.
I would like add I tested adding option
sort: [ { field: 'id', dir: 'asc' } ]
in Datasource. This is sent to serverside accurately, but it seems KendoGrid does something wrong when it sends field name (in fact, it doesn't send it) in order to change sort options in DataSource.