Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
160
Lost Paging feature after refreshing Grid
posted

I want to keep column paging feature after refresh Grid.

Here is what I have, with this, I am getting the filtered data inside grid, but I am unable to see the whole list as the paging index and size is gone after refresh, I am now only be able to view the first page

jQuery.ajax({
  url: "report.php?xxxx", 
  data: { start_time : start_time , end_time: end_time},
  dataType: "json", 
  method: "post", 
  success: function(response) {
    if (response) {

       jQuery("#grid").igGrid("option", "dataSource", response);

    },
  error: function(xhr, ajaxOptions, thrownError) {
    console.log("Search Error!!");
   }
});