javascript - Lazy load values in paginated datatable using jquery - Stack Overflow

I'm trying to use the jquery datatable plugin in my project. It supports ajax loading of values in

I'm trying to use the jquery datatable plugin in my project. It supports ajax loading of values in the table. But my question is does it support lazy loading of value? means If the table is paginated, can I load data required by each page using ajax when it is requested than load all the values at the startup of the page?

Now what I observed is that all data required by the page is loaded when the table is created. It will create problem if the page has to deal with a huge amount of data and it is not used at that point of time.

If this plugin cannot handle it can anyone suggest any other plugin which will support this requirement. I need a data table which supports pagination and lazy loading of contents.

I'm trying to use the jquery datatable plugin in my project. It supports ajax loading of values in the table. But my question is does it support lazy loading of value? means If the table is paginated, can I load data required by each page using ajax when it is requested than load all the values at the startup of the page?

Now what I observed is that all data required by the page is loaded when the table is created. It will create problem if the page has to deal with a huge amount of data and it is not used at that point of time.

If this plugin cannot handle it can anyone suggest any other plugin which will support this requirement. I need a data table which supports pagination and lazy loading of contents.

Share Improve this question edited Dec 15, 2010 at 11:37 Arun P Johny asked Aug 8, 2009 at 16:45 Arun P JohnyArun P Johny 388k68 gold badges531 silver badges532 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 2

This can be done using the ajax configuration in the datatable itself. You can find the details here. The option sAjaxSource is used to specify the ajax source and setting the option bProcessing allows us to configure the system to do all the processing like page loading, sorting and filtering in the server side.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744186992a4562252.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信