在mvc中使用jquery的html表分页 [英] html table paging using jquery in mvc

查看:80
本文介绍了在mvc中使用jquery的html表分页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在使用jquery的大量数据的表中进行分页我试了很多但我不知道怎么能这样做请帮助

i want to do paging in a table which have the large number of data using jquery i tried a lot but i don't know how can i do this please help

推荐答案

您可以查看本文是否已完成MVC和EF。对于大数据,当你使用Jquery时,初始加载会很高。

使用实体框架在MVC 5中进行分页 [ ^ ]
You can check this article is done with MVC and EF. for large data initial load will be high when you use Jquery.
Paging In MVC 5 with Entity Framework[^]


for jquery paging download jquery插件来自以下链接:



http://www.jqueryrain.com/ 2012/04 / best-ajax-jquery-pagination-plugin-tutorial-with-example-demo / [ ^ ]
for jquery paging download jquery plugin from below links :

http://www.jqueryrain.com/2012/04/best-ajax-jquery-pagination-plugin-tutorial-with-example-demo/[^]


你这个:





//添加以下参考

https://code.jquery.com/ui/1.12.1 /themes/base/jquery-ui.css

https://cdn.da tatables.net/1.10.19/css/dataTables.jqueryui.min.css

https://code.jquery.com/jquery-3.3.1.js

https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js

https://cdn.datatables.net/1.10.19/js/dataTables.jqueryui .min.js






You this:


//add the below reference
https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css
https://cdn.datatables.net/1.10.19/css/dataTables.jqueryui.min.css
https://code.jquery.com/jquery-3.3.1.js
https://cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js
https://cdn.datatables.net/1.10.19/js/dataTables.jqueryui.min.js




这篇关于在mvc中使用jquery的html表分页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆