adminfaces / admin-template

JSF responsive admin template based on Bootstrap and AdminLTE
https://adminfaces.github.io/docs/latest/#admin_template
MIT License
209 stars 101 forks source link

Twice header of <p:dataTable> with scrollable option #191

Closed hir0ku closed 3 years ago

hir0ku commented 4 years ago
Issue Overview

Twice header of with scrollable option. table_double_header

Current Behaviour
Expected Behaviour
How to reproduce
<p:panel header="table test">
    <p:dataTable value="#{indexView.tableItemDtoList}" var="item" scrollable="true" scrollHeight="300">
        <p:column headerText="word0">
            <h:outputText value="#{item.word0}"/>
        </p:column>
        <p:column headerText="word1">
            <h:outputText value="#{item.word1}"/>
        </p:column>
        <p:column headerText="number1">
            <h:outputText value="#{item.number1}"/>
        </p:column>
        <p:column headerText="number2">
            <h:outputText value="#{item.number2}"/>
        </p:column>
    </p:dataTable>
</p:panel>

entire code is here. https://github.com/hir0ku/adminfaces-operation-verification/blob/master/src/main/webapp/index.xhtml

Additional Information
rmpestano commented 3 years ago

It was just fixed and the fix will be available in adminfaces 1.3.0 to be released today. Thank you for your feedback!