i want to update using batch update with grid widget.
if I click on save changes i get this error
Unable to get value of the property 'data': object is null or undefined
any help would be gladly welcome thank you
Mygrid
if I click on save changes i get this error
Unable to get value of the property 'data': object is null or undefined
any help would be gladly welcome thank you
Mygrid
$(document).ready(function () { var emailGridDataSource = new kendo.data.DataSource({ transport: { read: { url: "/franchisees/stock/emailkendoread", dataType: "json" }, update: { url: "/franchisees/stock/emailkendoupdate", dataType: "json", type: "POST" }, parameterMap: function (options, operation) { if (operation !== "read" && options.models) { return { models: kendo.stringify(options.models) }; } } }, batch: true, pageSize: 25, schema: { model: { id: "ProductID", fields: { ProductId: { editable: false, nullable: true }, Name: { editable: false, validation: { required: true } }, Level: { type: "number", editable: false, validation: { required: true } }, MinQuantity: { type: "number", editable: false }, OrderByThe: { type: "number", editable: false }, Order: { type: "number", editable: true } } } } }); $("#emailGrid").kendoGrid({ dataSource: emailGridDataSource, navigatable: true, sortable: true, pageable: true, toolbar: ["save", "cancel"], columns: [ "Name", { field: "Level", width: 150 }, { field: "MinQuantity", width: 100 }, { field: "OrderByThe", width: 100 }, { field: "Order", width: 100 }], editable: true });});