JARCH SHOWCASE
JARCH SHOWCASE
DataTable - Basic DataTable displays data in tabular format.
IdYearBrandColor
c0db58cf1992HondaBrown
1e7b2c141995FiatWhite
d9e3e2f91988HondaSilver
da2133af1987FordSilver
b45c9cdf2005RenaultBlack
8e719bf21987JaguarBlack
ab6ee8241973VolvoYellow
71bd0b161969HondaOrange
691f5cfc1977BMWOrange
91f112c71963HondaGreen
<a:dataTable var="car" value="#{dtBasicView.cars}">
    <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>
                
JARCH, Copyright © 2022 All rights reserved. Running JARCH 24.3.0-SNAPSHOT on PrimeFaces-12.0.0 on Mojarra-2.3.13.