In Kendo.all.js line 5123, call to get the data from the datasource is performed, but there is no check to see if the data returned is undefined.
I put in a temporary fix, but it may not be the proper way, but at least it stops Kendo from crashing. I am posting it here to let someone know:
I put in a temporary fix, but it may not be the proper way, but at least it stops Kendo from crashing. I am posting it here to let someone know:
that.data = function(data) { var record, getter, idx, length, modelInstance = new that.model(); data = dataFunction(data); if( isEmptyObject(data) ) // Added this fix to prevent errors if no data was returned return {}; if (!isEmptyObject(getters) ) { for (idx = 0, length = data.length; idx < length; idx++) { record = data[idx]; for (getter in getters) { record[getter] = modelInstance._parse(getter, getters[getter](record)); } } } return data;}