Locale

Language
English
English
English
French
German
German
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Arabic
Bulgarian
Bangla
Bosnian
Czech
Greek
Estonian
Persian
Finnish
Danish
Hindi
Indonesian
Icelandic
Croatian
Japanese
Hungarian
Hebrew
Georgian
Central Kurdish
Khmer
Kyrgyz
Kazakh
Lithuanian
Latvian
Malay
Norwegian
Polish
Romanian
Russian
Slovak
Slovenian
Serbian
Serbian
Swedish
Thai
Turkish
Ukrainian
Uzbek
Vietnamese
Chinese
Chinese

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

DataTable Dynamic Columns

Columns of datatable can be created dynamically using the p:columns component.

Available columns are name, country, date, status and activity.
NAMECOUNTRYDATESTATUSACTIVITY
Antonio CaudyIndia2025-03-29RENEWAL78
Costa DilliardAustralia2025-04-21PROPOSAL16
Alejandro PerinBrazil2025-04-14QUALIFIED10
Maisha RulapaughItaly2025-04-05NEW42
Arvin AlbaresSpain2025-04-20RENEWAL95
Sinclair WaycottFrance2025-04-05NEGOTIATION63
Costa DilliardIndia2025-04-16PROPOSAL60
Darci PoquetteCanada2025-04-08UNQUALIFIED17
Darci PoquetteSpain2025-04-12NEW20
Arvin AlbaresSpain2025-04-23QUALIFIED65

<div class="card">
    Available columns are <b>name</b>, <b>country</b>, <b>date</b>, <b>status</b> and <b>activity</b>.

    <h:form id="form">
        <div class="flex justify-content-between">
            <div>
                <p:commandButton value="XLS" styleClass="mr-2 mb-2">
                    <p:dataExporter type="xls" target="tbl" fileName="products"/>
                </p:commandButton>

                <p:commandButton value="XLSX" styleClass="mr-2 mb-2">
                    <p:dataExporter type="xlsxstream" target="customers" fileName="customers"/>
                </p:commandButton>

                <p:commandButton value="PDF" styleClass="mr-2 mb-2">
                    <p:dataExporter type="pdf" target="customers" fileName="customers"/>
                </p:commandButton>

                <p:commandButton value="CSV" styleClass="mr-2 mb-2">
                    <p:dataExporter type="csv" target="customers" fileName="customers"/>
                </p:commandButton>

                <p:commandButton value="XML" styleClass="mr-2 mb-2">
                    <p:dataExporter type="xml" target="customers" fileName="customers"/>
                </p:commandButton>

                <p:commandButton value="TXT" styleClass="mr-2 mb-2">
                    <p:dataExporter type="txt" target="customers" fileName="customers"/>
                </p:commandButton>
            </div>
        </div>
        <div class="mt-3 mb-5">
            <p:inputText id="template" value="#{dtColumnsView.columnTemplate}" size="50" styleClass="mr-2"/>
            <p:commandButton update="customers" action="#{dtColumnsView.updateColumns}" value="Update"
                             process="@parent" icon="pi pi-refresh"
                             oncomplete="PF('customersTable').clearFilters()"/>
        </div>

        <p:dataTable id="customers" var="customer" value="#{dtColumnsView.customers}" widgetVar="customersTable"
                     filteredValue="#{dtColumnsView.filteredCustomers}">

            <p:columns value="#{dtColumnsView.columns}" var="column" headerText="#{column.header}"
                       field="#{column.property}">
            </p:columns>

        </p:dataTable>
    </h:form>
</div>