Input Style

Free Themes

Built-in component themes created by the PrimeFaces Theme Designer.

Saga Saga
Vela Vela
Arya Arya

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.

TreeTable

In responsive mode, visibility of columns are toggled based on the screen size and their priority (1-6).

Column Priority
Document Viewer
NameSize (p3)Type (p2)

<div class="card">
    <h:form id="form">
        <h5 style="margin-top:0">Column Priority</h5>
        <p:treeTable value="#{ttBasicView.root}" var="document">
            <f:facet name="header">
                Document Viewer
            </f:facet>
            <p:column headerText="Name">
                <h:outputText value="#{document.name}"/>
            </p:column>
            <p:column headerText="Size (p3)" responsivePriority="3">
                <h:outputText value="#{document.size}"/>
            </p:column>
            <p:column headerText="Type (p2)" responsivePriority="2">
                <h:outputText value="#{document.type}"/>
            </p:column>
        </p:treeTable>
    </h:form>
</div>