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
Claire U MorascaBrazilCommercial PressAmy Elsner
Greenwood D StensethIndiaChapman, Ross E EsqOnyama Limba
Emily F ButtBrazilMorlong AssociatesAsiya Javayant
Leja P ButtGermanyCommercial PressIoni Bowcher
Sinclair V OstroskyRussiaCommercial PressIoni Bowcher
Mujtaba V IturbideFranceChanay, Jeffrey A EsqAnna Fali
Tony V RimGermanyChemel, James L CpaBernardo Dominic
Izzy P MacleadItalyRousseaux, Michael EsqStephen Shaw
Julie J MarrierGermanyChanay, Jeffrey A EsqOnyama Limba
Kadeem R GlickBrazilDorl, James J EsqOnyama 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>