Hi,
I'm using custom errors where retrieving data from server.
If an error occurred on the server when retrieving data, server respond with some error message which is handled in your success function.
but there is no that._dequeueRequest(), so any new request is not started.
Thanks in advance!
I'm using custom errors where retrieving data from server.
dataSource =
new
kendo.data.DataSource({
type:
"json"
,
serverPaging:
true
,
serverSorting:
true
,
serverFiltering:
false
,
error:
function
(e) {
// display custom error
},
...
});
If an error occurred on the server when retrieving data, server respond with some error message which is handled in your success function.
success:
function
(data) {
var
that =
this
,
options = that.options,
hasGroups = options.serverGrouping ===
true
&& that._group && that._group.length > 0;
data = that.reader.parse(data);
if
(that._handleCustomErrors(data)) {
// should dequeue request!
// that._dequeueRequest();
return
;
}
...
that._dequeueRequest();
// only called if any data is retrived
that._process(that._data);
}
but there is no that._dequeueRequest(), so any new request is not started.
Thanks in advance!