问题
When I use stickyHeader=true on primefaces data table I see two headers generated. Second is 5 rows below the actual header and it is happening on all my pages. Anybody had this issue and got it resolved?
<p:dataTable var="product" value="#{productBean.products}" stickyHeader="true">
<p:column headerText="Name">
<h:outputText value="#{product.name}" />
</p:column>
<p:column headerText="Year">
<h:outputText value="#{product.year}" />
</p:column>
<p:column headerText="Active">
<h:outputText value="#{product.active}" />
</p:column>
来源:https://stackoverflow.com/questions/54487629/duplicate-headers-in-primefaces-data-table