26
我正在使用PrimeFaces 3.3.1的<p:dataTable>
分页。分页按钮出现在表头和页脚中。我想隐藏表格标题中的分页按钮并将其保留在表格页脚中。我怎样才能做到这一点?隐藏p表格标题中的分页按钮:dataTable
我正在使用PrimeFaces 3.3.1的<p:dataTable>
分页。分页按钮出现在表头和页脚中。我想隐藏表格标题中的分页按钮并将其保留在表格页脚中。我怎样才能做到这一点?隐藏p表格标题中的分页按钮:dataTable
按照PrimeFaces Users Guide和<p:dataTable>
VDL Documentation,有一个paginatorPosition
属性可以采取的both
(默认值)的值,或top
bottom
。
因此,只需将paginatorPosition
属性设置为bottom
即可。
<p:dataTable ... paginatorPosition="bottom">
非常感谢@BususC,我喜欢你嘿嘿!亲爱的,请帮助我链接[链接] http://stackoverflow.com/questions/11807191/remove-an-item-from-map和[链接] http://stackoverflow.com/questions/11806608/datatable-dose - 未更新功能于JSF – 2012-08-05 02:28:11