Hi.
I am trying to implement this product on an existing rest API.
I am using loadFilter in the datagrid to adjust the variable names coming from the server.
loadFilter : function(data) {
var filtered = [];
if (data.MaxResults) {
filtered.totalRows = data.MaxResults;
filtered.rows = data.Results;
}
return filtered;
}
Can you tell me if there is something similar to loadFilter before the request is going out?
I use different variable names and I cant do anything(!) on the server side to adjust the names.
Thanks