【发布时间】:2017-04-11 10:33:13
【问题描述】:
我有一个数据表来显示我的数据库中的数据。我在“底部”位置包含对我的数据表的分页。我的代码:
<p:dataTable var="item" id="initemList" widgetVar="initemList" value="#{initemController.initems}"
paginator="true" rows="50" reflow="true"
paginatorTemplate="{RowsPerPageDropdown} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {CurrentPageReport}"
currentPageReportTemplate="{startRecord} - {endRecord} of {totalRecords}" paginatorPosition="bottom"
rowsPerPageTemplate="10,25,50" selectionMode="single" scrollable="true"
selection="#{initemController.selectedInitem}" rowKey="#{item.itemid}">
我的分页不在底部屏幕上,而是在我的数据下方。我怎样才能做到这一点?
【问题讨论】:
标签: html css primefaces xhtml