Locale

Change the locale of the datepicker, schedule and client side validation messages.

Language
English
English
English
French
German
German
German
Italian
Korean
Spanish
Catalan
Dutch
Portuguese
Portuguese
Arabic
Arabic
Bulgarian
Czech
Greek
Persian
Finnish
Danish
Hindi
Indonesian
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
Vietnamese
Chinese
Chinese

Input Style

Themes

PrimeOne
Saga Saga
Vela Vela
Arya Arya
Bootstrap
bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple
Material Design
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple
Material Design Compact
material-indigo-light Indigo
material-deeppurple-light' Deep Purple
material-indigo-dark Indigo
material-deeppurple-dark' Deep Purple

DataTable Paginator

DataTable provides a highly customizable ajax paginator.

NameCountryCompanyRepresentative
Kaitlin X VenereItalyTruhlar And Truhlar AttysStephen Shaw
Faith O VocelkaAustraliaMorlong AssociatesXuxue Feng
Maria D ShinkoIndiaFeltz Printing ServiceStephen Shaw
Juan C GlickUnited KingdomFeltz Printing ServiceStephen Shaw
Ashley W StensethRussiaFeltz Printing ServiceElwin Sharvill
Munro K FollerArgentinaDorl, James J EsqXuxue Feng
Clifford H OldroydGermanyFeiner BrosIoni Bowcher
Antonio H WaycottAustraliaTruhlar And Truhlar AttysBernardo Dominic
Mujtaba M CaldareraCanadaBuckley Miller WrightElwin Sharvill
Jefferson Z NestleJapanFeltz Printing ServiceOnyama Limba

<div class="card">
    <h:form>
        <p:dataTable var="customer" value="#{dtPaginatorView.customers}" rows="10"
                     paginator="true" paginatorPosition="both"
                     paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
                     currentPageReportTemplate="{startRecord}-{endRecord} of {totalRecords} records"
                     rowsPerPageTemplate="5,10,{ShowAll|'All'}">

            <p:column headerText="Name">
                <h:outputText value="#{customer.name}" />
            </p:column>

            <p:column headerText="Country">
                <h:outputText value="#{customer.country.name}" />
            </p:column>

            <p:column headerText="Company">
                <h:outputText value="#{customer.company}" />
            </p:column>

            <p:column headerText="Representative">
                <h:outputText value="#{customer.representative.name}" />
            </p:column>

            <f:facet name="paginatorTopLeft">
                <p:commandButton type="button" icon="pi pi-refresh"/>
            </f:facet>

            <f:facet name="paginatorBottomRight">
                <p:commandButton type="button" icon="pi pi-cloud-upload"/>
            </f:facet>

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