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
Costa J PerinUnited KingdomPrinting DimensionsIvan Magalhaes
Nicolas F OstroskyRussiaBuckley Miller WrightBernardo Dominic
Maria U MacleadIndiaBuckley Miller WrightBernardo Dominic
Murillo G OldroydBrazilCommercial PressIvan Magalhaes
Chavez U OstroskyFranceChanay, Jeffrey A EsqAnna Fali
Morrow S MaletCanadaFeltz Printing ServiceAnna Fali
Salvatore D NestleJapanChanay, Jeffrey A EsqXuxue Feng
Aditya J DilliardUnited KingdomChapman, Ross E EsqIvan Magalhaes
Costa H FigeroaFranceCommercial PressIoni Bowcher
Aditya B StensethUnited KingdomRousseaux, Michael EsqBernardo Dominic

<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>