Pending Review
Last Updated: 13 Jul 2018 20:28 by ADMIN
Otto Neff
Created on: 10 Nov 2015 12:54
Category: Data Source
Type: Feature Request
2
Problem OData v4 and parameterMap
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.
1 comment
Imported User
Posted on: 13 Jul 2018 20:27
still broken as of july 2018.