I am receiving the error "Maximum call stack size exceeded" while trying to bind Signalr data to the KendoUI grid (v2014.1 416).
Here is my current code:
I'm looking for setup suggestions to fix this problem or known workarounds.
Thank you.
Here is my current code:
var
epConnection = $.hubConnection();
var
hub = epConnection.createHubProxy(
"EventsPendingHub"
);
var
hubStart = epConnection.start();
$(
'#tblEventsPending'
).kendoGrid({
sortable:
true
,
columns: [
{ field:
"EventNum"
},
{ field:
"Area"
},
{ field:
"Zone"
},
{ field:
"Priority"
},
{ field:
"Type"
},
{ field:
"TIQ"
},
{ field:
"Location"
},
{ field:
"Apt"
}
],
dataSource: {
type:
"signalr"
,
autoSync:
true
,
schema: {
model: {
id:
"EventNum"
,
fields: {
"EventNum"
: { type:
"string"
},
"Area"
: { type:
"string"
},
"Zone"
: { type:
"string"
},
"Priority"
: { type:
"string"
},
"Type"
: { type:
"string"
},
"TIQ"
: { type:
"string"
},
"Location"
: { type:
"string"
},
"Apt"
: {type:
"string"
}
}
}
},
sort: [
{ field:
"Priority"
, dir:
"desc"
},
{ field:
"TIQ"
, dir:
"desc"
}
],
transport: {
signalr: {
promise: hubStart,
hub: hub,
server: {
read:
"read"
,
update:
"update"
,
destroy:
"destroy"
,
create:
"create"
},
client: {
read:
"read"
,
update:
"update"
,
destroy:
"destroy"
,
create:
"create"
}
}
}
}
});
I'm looking for setup suggestions to fix this problem or known workarounds.
Thank you.