在JSP中为HTML表创建分页 [英] Create Pagination for HTML table in JSP

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

问题描述



' ve HTML table和用户表单在同一个JSP中。我可以在JSP页面中使用Ajax和jquery(使用struts-2,没有页面刷新)根据用户在用户表单中输入的数据动态添加行。我想要HTML表的分页,我尝试了DATATABLES插件,但是dint得到了如何在我的JSP页面中使用它。 DATATABLES中是否有任何专家将HTML表转换为DATATABLES或者是否有其他简单的分页解决方案?请尽快回复。

谢谢:

解决方案

你应该看看在这些..

如何使用JavaScript进行客户端HTML表格分页? [ ^ ]

使用javascript在html表中进行分页 [ ^ ]

并且,也是一个插件..

< a href =http://datatables.net/> http://datatables.net/ [ ^ ]

Hi,

I've HTML table and user form in the same JSP. I can add rows by dynamically depending on the user entered data in the user form using Ajax and jquery(used struts-2, without page refreshing) in JSP page. I want pagination for the HTML table, I tried DATATABLES plugin, But dint get how to use that in my JSP page. Is there any experts in DATATABLES converting HTML tables into DATATABLES or Is there any other simple solutions for the pagination? Please reply as soon as possible.

Thanks:

解决方案

You should have a look at these..
how to make Client-side HTML table pagination with JavaScript ?[^]
Paging in html table using javascript[^]
And,also a plugin..
http://datatables.net/[^]


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

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