JARCH SHOWCASE
JARCH SHOWCASE
DataTable - Paginator DataTable provides a highly customizable ajax paginator.
IdYearBrandColor
466a23951985VolvoWhite
49514cfe1997HondaGreen
2d4a27752004AudiGreen
4009a1d91965FordMaroon
5f75fe421991BMWOrange
50e9ca4e2003AudiWhite
8fc4313b1967AudiBlack
dac11cbb1983RenaultMaroon
adb95ac31994FiatOrange
34c704541972FordSilver
<a:form>
    <a:dataTable var="car" value="#{dtPaginatorView.cars}" rows="10"
                         paginator="true"
                         paginatorTemplate="{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
                         rowsPerPageTemplate="5,10,15">
        <a:column headerText="Id">
            <h:outputText value="#{car.id}" />
        </a:column>

        <a:column headerText="Year">
            <h:outputText value="#{car.year}" />
        </a:column>

        <a:column headerText="Brand">
            <h:outputText value="#{car.brand}" />
        </a:column>

        <a:column headerText="Color">
            <h:outputText value="#{car.color}" />
        </a:column>
    </a:dataTable>
</a:form>
                
JARCH, Copyright © 2022 All rights reserved. Running JARCH 24.3.0-SNAPSHOT on PrimeFaces-12.0.0 on Mojarra-2.3.13.