I'm using <p:dataTable>
of PrimeFaces 3.3.1 with pagination. The pagination buttons appear in both the table header and footer. I would like to hide the pagination buttons in the table header and keep the ones in the table footer. How can I achieve this?
问问题
32389 次
2 回答
73
根据PrimeFaces 用户指南和<p:dataTable>
VDL 文档,有一个paginatorPosition
属性可以采用both
(默认值)top
或bottom
.
所以只需将paginatorPosition
属性设置为bottom
.
<p:dataTable ... paginatorPosition="bottom">
于 2012-08-04T11:52:32.777 回答
0
在标题上隐藏所有数据表分页符的替代方法:
.ui-paginator-top{
display:none;
}
于 2018-11-02T22:54:12.497 回答