Spring MVC中的数据表 [英] Datatable in Spring MVC
本文介绍了Spring MVC中的数据表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在进行数据绑定时,在JSF中我们有数据表功能,用于在带有样式的表中排列数据。
While do databinding , in JSF we have datatable feature for arranging data in a table with style.
在Spring MVC中是否有像datatable这样的功能?我通常使用JSTL forEach来做。
但是如果有像datatable这样的功能(在JSF中),我们可以很容易地管理它,包括他们的CSS风格。
Is there any feature like datatable in spring MVC ? I do it using JSTL forEach as normally. But if there any feature like datatable(in JSF) , we can easly manage it including their CSS style.
推荐答案
我推荐 datatables4j (基于 jQuery DataTables ),它适用于Spring MVC。
I would recommend the datatables4j (based on jQuery DataTables), it works pretty well with Spring MVC.
参见
- https://github.com/datatables4j
- Integrating Spring MVC with jQuery, Bootstrap, DataTables4J and webjars
这篇关于Spring MVC中的数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文