I get the error attached in kendo.all.js and the error event doesn't even fire,what am i doing wrong?
var
dataSource =
new
kendo.data.DataSource({
transport: {
read: {
url:
"helper.php?action=data"
,
dataType:
"json"
}
},
schema: {
data:
"zzz"
}
});
dataSource.bind(
"error"
,
function
(e) {
alert(
'error'
);
});
dataSource.fetch(
function
() {
alert(
'fetch complete'
);
});
the helper returns this json:
{"zzz":{"items":[{"type":"button","text":"Test"}]}}
I have tried with and without the schema set as per suggestions seen on the web - please help?