or
function
droptargetOnDrop(e) {
$target = $(e.target);
$draggable = $(e.draggable.currentTarget);
$target.append($draggable);
}
xAxis: {
labels: {
format: myFormatFunction(tickValue) {
return
formattedString }
}
}
{"ITEM_TYPE" : "", "ITEM_CODE": "", "ITEM_NAME": "", .....
d is undefined
return new Function("d", "return " + kendo.expr(expression, safe));
Uncaught TypeError: Cannot call method 'replace' of undefined
d.extend._Deferred.f.resolveWithj
v
d.support.ajax.d.ajaxTransport.send.c
$.xxxx.voice.localData.agentHGDS = new kendo.data.DataSource({
data: $.xxxx.voice.localData.agentHGData /* This is my data array*/
});
var rowTemplate = "<
tr
class
=
's#= HGInfo.CurrentState #'
>" +
"<
td
>${ AgentInfo.CSLAgentId }</
td
>" +
"<
td
>${ AgentInfo.CSLAgentName }</
td
>" +
"<
td
>${ HGInfo.Number }</
td
>" +
"<
td
>${ $.xxxx.utils.getCSLStateDisplay(HGInfo.CurrentState) }</
td
>" +
"<
td
>${ $.xxxx.utils.formatJSONTimeCasual(HGInfo.CurrentStateDateTime) }</
td
>" +
"<
td
>${ HGInfo.GroupCalls }</
td
>" +
"<
td
>${ AgentInfo.OutboundCalls }</
td
>" +
"<
td
>${ HGInfo.OpportunitiesMissed }</
td
>" +
"</
tr
>";
$("#grid-id").kendoGrid({
dataSource: $.xxx.voice.localData.agentHGDS,
sortable: { mode: "multiple" },
height: 250,
groupable: true, /* if I take this line out, the error goes away and all is right with the world */
rowTemplate: rowTemplate,
columns: [{ field: "AgentInfo.CSLAgentId", title: "AgentId", width: 20 },
{ field: "AgentInfo.CSLAgentName", title: "AgentName", width: 20 },
{ field: "HGInfo.Number", title: "HuntGroup", width: 20 },
{ field: 'aaa', title: "State", width: 20 },
{ field: "HGInfo.CurrentStateDateTime", title: "StateTime", width: 20 },
{ field: "HGInfo.GroupCalls", title: "# GroupCalls", width: 20 },
{ field: "AgentInfo.OutboundCalls", title: "# OutboundExt", width: 20 },
{ field: "HGInfo.OpportunitiesMissed", title: "# OppMissed", width: 20} ]
});