我将 p:dataTable 的 paginatorTemplate 声明为:
<p:dataTable id="lazyDataTable" paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown} {Exporters}">
声明“出口商”:
<f:facet name="{Exporters}">
<h:commandLink>
<p:graphicImage libray ="images" name="excel.png"/>
<p:dataExporter type = "xls" target="lazyDataTable" fileName="report" />
</h:commandLink>
<h:commandLink>
<p:graphicImage library="images" name="pdf.png"/>
<p:dataExporter type = "pdf" target="lazyDataTable" fileName="report" />
</h:commandLink>
</f:facet>
我希望导出器与表头右对齐,但它出现在表头的中间,如下所示:
我怎样才能将它与标题的右侧对齐,谢谢!