在客户选择后我调用了我的jquery函数,我发现自己遇到了这个问题:
kendo.all.js:5282 Uncaught RangeError: Maximum call stack size exceeded
at Function (<anonymous>)
at o.filter (kendo.all.js:5282)
at kendo.all.js:5303
at U (kendo.all.js:4901)
at o.select (kendo.all.js:5243)
at o.group (kendo.all.js:5302)
at Function.o.process (kendo.all.js:5473)
at init._queryProcess (kendo.all.js:6877)
at init._process (kendo.all.js:6867)
at init._change (kendo.all.js:6834)
我发现在使用set()函数的所有行中我得到了这个错误,但当我用(=)更改函数并获取我的网格问题终止时,我不知道c&#39 ;是什么解决方案,我会把你的一部分代码组装起来
function GetplanFormation1() {
var prj = $("#prj").val();
$.ajax({
type: 'GET',`
url: UrlRoot + 'Formation/readPlanFormation?client=' + cl + "&projet=" + prj,
success: function (data) {
for (var i = 0 ; i < data.length; i++) {
var dataItem = DSThemeFormation.get(data[i].id);
console.log("data", data);
if (data[i].PrjAct) {
dataItem.checked = true;
dataItem.nbj = data[i].j;
dataItem.id_org = data[i].org;
}
else {
dataItem.idP = data[i].idP;
}
}
},
error: function (xhr) {
if (prj == undefined) {
}
if (cl == undefined) {
}
}
});
}