var instance; // Type: wijmo.data.IAjaxDataViewOptions; var value; // Type: any value = instance.onRequest;
var onRequest : any;
var instance; // Type: wijmo.data.IAjaxDataViewOptions; var value; // Type: any value = instance.onRequest;
var onRequest : any;
data: new wijmo.data.AjaxDataView("http://ws.geonames.org/searchJSON", { ajax: { dataType: "jsonp", data: { username: "demo", style: "SHORT" } }, pageSize: 10, onRequest: function (settings, shape) { settings.data.startRow = shape.pageSize * shape.pageIndex; settings.data.maxRows = shape.pageSize; }, onResponse: function (response) { return { totalItemCount: response.totalResultsCount, results: response.geonames }; } })