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
Aditya V DarakjyArgentinaKing, Christopher A EsqAmy Elsner
Jeanfrancois V KolmetzSpainChanay, Jeffrey A EsqAmy Elsner
Francesco Z StockhamAustraliaFeiner BrosIvan Magalhaes
Salvatore G DilliardItalyCommercial PressAsiya Javayant
Murillo A ShinkoBrazilMorlong AssociatesAmy Elsner
Alejandro G TollnerSpainRousseaux, Michael EsqStephen Shaw
Johnson N FigeroaArgentinaMorlong AssociatesAmy Elsner
Jefferson X AlbaresAustraliaMorlong AssociatesBernardo Dominic
David V ShinkoSpainBenton, John B JrStephen Shaw
Sinclair Y CaldareraIndiaKing, Christopher A EsqAnna Fali

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