Hey everyone
I have a Kendo grid set up with ".Editable(editable => editable.Mode(GridEditMode.PopUp) ) "
When I click the edit button in the grid , the screen pops up as normal. Properties are set correctly, however when I alter a property and save, I get the error below.
0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'data': object is null or undefined
This error is happening in the "Kendo.all.js" file. Here is the relevent javascript:
setup: function(options, type) {
options = options || {};
var that = this,
parameters,
----------------------------------------------------------------------------------------------------------------------------------------------------------
operation = that.options[type], //**** the operation gets set to 'Undefined' by this line and fails on the line below. *****/
-----------------------------------------------------------------------------------------------------------------------------------------------------------
data = isFunction(operation.data) ? operation.data(options.data) : operation.data;
options = extend(true, {}, operation, options);
parameters = extend(true, {}, data, options.data);
options.data = that.parameterMap(parameters, type);
if (isFunction(options.url)) {
options.url = options.url(parameters);
}
return options;
}
What is happening to cause this and how do I resolve it?
Thanks,
Dave
I have a Kendo grid set up with ".Editable(editable => editable.Mode(GridEditMode.PopUp) ) "
When I click the edit button in the grid , the screen pops up as normal. Properties are set correctly, however when I alter a property and save, I get the error below.
0x800a138f - Microsoft JScript runtime error: Unable to get value of the property 'data': object is null or undefined
This error is happening in the "Kendo.all.js" file. Here is the relevent javascript:
setup: function(options, type) {
options = options || {};
var that = this,
parameters,
----------------------------------------------------------------------------------------------------------------------------------------------------------
operation = that.options[type], //**** the operation gets set to 'Undefined' by this line and fails on the line below. *****/
-----------------------------------------------------------------------------------------------------------------------------------------------------------
data = isFunction(operation.data) ? operation.data(options.data) : operation.data;
options = extend(true, {}, operation, options);
parameters = extend(true, {}, data, options.data);
options.data = that.parameterMap(parameters, type);
if (isFunction(options.url)) {
options.url = options.url(parameters);
}
return options;
}
What is happening to cause this and how do I resolve it?
Thanks,
Dave