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