Hello,
The grid loads remote data at setup without any problems. However, in a button click event, I set the same url as source, like this:
1.
$(
"#budgetGrid"
).data(
"kendoGrid"
).setDataSource({
2.
transport: {
3.
read: loadURL,
4.
},
5.
});
And I get this error:
1.
kendo.all.js:45851 Uncaught TypeError: e.fetch is not a
function
(…)
2.
setDataSource @ kendo.all.js:45851
3.
click @ Default.aspx?uid=6674:213
4.
trigger @ kendo.all.js:124
5.
_click @ kendo.all.js:26017
6.
d @ jquery.min.js:2
7.
dispatch @ jquery.min.js:3
8.
r.handle @ jquery.min.js:3
I've compared the output of the remote method and it's the same.
Thank you for any pointer.