如何在jqGrid中逐页加载数据 [英] How to load data in jqGrid pagewise
本文介绍了如何在jqGrid中逐页加载数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨专家,
如何在jqGrid中逐页加载数据?例如,如果我有100000个json记录,我需要在jqGrid中加载但不能同时加载,因为它需要花费很多时间。所以,我想在第一次加载页面时加载前500条记录。然后下一个500..next 500等等。您能否提供示例代码。
提前感谢Ankit
Hi experts,
How to load data in jqGrid pagewise? For example if I have 100000 json records which I need to load in the jqGrid but not all at once because it takes a lot of time. So, I want to load first 500 records at first load of page. And then next 500..next 500 and so on. Could you please give a sample code.
Thanks in advance Ankit
推荐答案
以下是示例代码用于jqGrid中的分页实现。
http://trirand.com/blog/jqgrid/jqgrid。 html
Here is the sample code for paging implementation in jqGrid.
http://trirand.com/blog/jqgrid/jqgrid.html
这篇关于如何在jqGrid中逐页加载数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文