see Ticket ID: 981260 var dataSource = new kendo.data.DataSource({ type: "odata-v4", }); works correct, but if you just define parameterMap the payload of parameters is not "odata-v4" it changes to old odata with this: var dataSource = new kendo.data.DataSource({ type: "odata-v4", transport: { parameterMap: function(data) { return data; } } }); This feels like I set dataType JSON for transport, and if I just define beforeSend in Ajax Request, I suddenly becomes XML just by defining a overwrite function.
Hello,
Generally if the parameterMap function is used one should manually format the parameters. In case one wants to have something like our built-in formatting he can modify the logic as follows.
parameterMap: function(data, type)
{
var params = kendo.data.transports["odata-v4"].parameterMap(data, type, true);
return params;
},
Regards,
Angel Petrov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
still broken as of july 2018.