Hi,
Pretty sure this is my lack of Json knowledge but how can I get a member in a Json object returned?
I am also using a DataSource here is there any other suggested way to get data that will not be bound to a control?
If you guys can add more simple non-bound examples to your documentation please.
Thanks,
Anton
Pretty sure this is my lack of Json knowledge but how can I get a member in a Json object returned?
I am also using a DataSource here is there any other suggested way to get data that will not be bound to a control?
test:
function
() {
var
dataSource =
new
kendo.data.DataSource({
transport: {
read: {
dataType:
"jsonp"
}
},
requestStart:
function
(e) {
$(
'#loadingMain'
).show();
},
requestEnd:
function
(e) {
alert(dataSource.data().completed_in);
},
error:
function
(e) {
alert(e.status);
}
});
dataSource.read();
}
Thanks,
Anton