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!!"); }});
Hello Sabrina,
Thank you for posting in our community.
I followed the steps that you suggested and created a small sample illustrating your scenario. However, I was not able to reproduce the behavior that you are experiencing. In an ajax call I am changing igGrid data source and Paging is persisted after the data source is changed.
I am attaching my sample for your reference. Could you please test it on your side and let me know whether it behaves as expected. If this is not an accurate demonstration of what you are trying to achieve please feel free to modify it and send it back to me along with steps to reproduce. This is going to be highly appreciated and will help me investigate this further on my side.
Please feel free to contact me if you need any further assistance with this matter.
Hi,
Is there anyone who can help me crack this problem?
Thanks a lot.