or
dataSource.add({
name: output });
However i am not getting any luck, since it's always throwing
Object [object Array] has no method 'add'
Any ideas?
Rgds
that.divTestDropDownList.kendoDropDownList({
dataTextField: "TypeName",
dataValueField: "TypeID",
dataSource: {
transport: {
read: {
dataType: "json",
url: that.options.testUrl,
data: getTestData()
}
}
}
function getTestData() {
return {
testID: that.divOtherDropDownList.val()
}
};
//When I Call that.divPlayListDropDownList.data("kendoDropDownList").dataSource.read();
//in response to another control change the testID does not change
//although I can see it has changed in the console

content: { url: "/api/agent/genealogyupline?agentNumber=" + agentNumber, dataType: "json", template: kendo.template($("#genealogy-upline-template").html()) }<script type="text/x-kendo-template" id="genealogy-upline-template"> <div data-role="grid" data-columns='["Level", "AgentName", "Status"]' data-bind="source: data"></div></script>