Hi,
I known there is a loadServerData property on the dataAdapter, that allows me to do the ajax call myself:
loadServerData: function (serverdata, source, callback) {
$.ajax({
dataType: source.datatype,
url: source.url,
data: serverdata,
success: function (data, status, xhr) {
callback({ records: data.Tests, totalrecords: data.TotalRecords });
}
}).fail(function (jqXHr, textStatus, errorThrown) {
});
},
Actually, I just need to catch the fail function, I don’t need to have the custom Ajax call. The grid is showing a status screen and is constantly being refreshed. At some point, the user is logged out. I would like to respond to this on the client side. Do you have any suggestions for this?