DataTable - SummaryRow

SummaryRow is a helper component of datatable used for dynamic grouping.

Documentation
IdYearBrandColor
dbb7672b1995AudiWhite
d3550d511980AudiYellow
192d10d41999AudiGreen
0503626d1963AudiMaroon
990d97a71979AudiOrange
752ede652004AudiWhite
655be9d21998AudiWhite
4f8fdc011970AudiMaroon
775ad5741995AudiSilver
Total:$59,898.00
2003d1581990BMWSilver
35c66b331965BMWGreen
bd5ce5422001BMWRed
25eaa0152004BMWRed
e5c05d8c1997BMWBlack
Total:$81,043.00
169f34ff1961FiatBlue
d40d13d21996FiatBlack
0ffe48081970FiatWhite
461c27601979FiatGreen
ea43ec581997FiatBlack
Total:$52,703.00
7b83aebf1997FordBlue
903a67931997FordYellow
ee1be55b1989FordBrown
e33f15551982FordMaroon
Total:$76,427.00
53a8f7be1968HondaYellow
8f4a741f1960HondaGreen
808c3e942000HondaRed
5b8ceb231961HondaWhite
790065652002HondaBlack
Total:$93,698.00
b21afe471965JaguarYellow
9da713dd1977JaguarYellow
12f2f9a72003JaguarMaroon
5dcb2cfd1974JaguarOrange
7f98c3352002JaguarRed
5a4aad231974JaguarBlack
Total:$45,420.00
e72a8c2a2001MercedesSilver
Total:$85,605.00
9444cd661968RenaultGreen
b0fe19dd1968RenaultBlack
79086a352007RenaultRed
90f4dbb71973RenaultSilver
Total:$21,461.00
203aa44f1960VolkswagenRed
0425c6541966VolkswagenRed
0a94181f1980VolkswagenMaroon
df83f5e91982VolkswagenBrown
453f90cd2007VolkswagenWhite
f165690b1985VolkswagenWhite
Total:$62,948.00
55b9f1fe1975VolvoRed
82f926c62000VolvoYellow
75dde1231986VolvoYellow
fcb056f41964VolvoBrown
9e1d79301969VolvoMaroon
Total:$25,063.00
<h:form>
    <p:dataTable var="car" value="#{dtSummaryRowView.cars}" sortBy="#{car.brand}">
        <p:column headerText="Id" sortBy="#{car.id}">
            <h:outputText value="#{car.id}" />
        </p:column>
        <p:column headerText="Year" sortBy="#{car.year}">
            <h:outputText value="#{car.year}" />
        </p:column>
        <p:column headerText="Brand" sortBy="#{car.brand}">
            <h:outputText value="#{car.brand}" />
        </p:column>
        <p:column headerText="Color" sortBy="#{car.color}">
            <h:outputText value="#{car.color}" />
        </p:column>
        <p:summaryRow>
            <p:column colspan="3" style="text-align:right">
                <h:outputText value="Total:" />
            </p:column>
            <p:column>
                <h:outputText value="#{dtSummaryRowView.randomPrice}">
                    <f:convertNumber type="currency" currencySymbol="$" />
                </h:outputText>
            </p:column>
        </p:summaryRow>
    </p:dataTable>
</h:form>

FREE THEMES

Built-in component themes created by the PrimeFaces Theme Designer.

nova-light Nova-Light
nova-dark Nova-Dark
nova-colored Nova-Colored
luna-blue Luna-Blue
luna-amber Luna-Amber
luna-green Luna-Green
luna-pink Luna-Pink
omega Omega

PREMIUM TEMPLATES

Create awesome applications in no time using the premium templates and impress your users.