I am trying to load data from a response.json file, where totalRecords is specified as 1000. However the page count is not being calculated correctly:
jQuery.ajax({ url: 'http://localhost:8080/ecom/response.json?callback=jsonp', type : "GET", dataType : "jsonp", jsonpCallback: 'jsonp', jsonp: 'callback',success: function(data) {
$.ig.loader(function () { var _isDataBound = false; var logCounter = 0;
$("#grid1").igGrid({
autoGenerateColumns: false, dataSource: data, autoCommit: true, responseDataKey: "Records", columns: [ .... ]
{ name: 'Paging', type: "local", pageSizeList: [5, 10, 25, 50, 100], pageSize: 100, recordCountKey: "totalRecords" }
response.json contains the following code:
jsonp({ "Records" :[<DATA IS HERE WITH 50 RECORDS OF THE TOTAL RESULT SET OF 1000 FROM THE SERVER>], "totalRecords" : 1000})
What am I doing wrong?
Hi Lynne E,
Just want to update you that I am contininuing to look at this and will have an update for you on or before Monday.
Thanks!
Hi Lynn E,
Thank you for posting your inquiry on the Infragistics Forums.
This is an initial update to let you know that I have received your inquiry and will be looking into this for you. I will follow-up with you on Thursday with an update to my research on this inquiry.