Input Style

Free Themes

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

Saga Saga
Vela Vela
Arya Arya

Legacy Free Themes

Luna Amber Luna Amber
Luna Blue Luna Blue
Luna Green Luna Green
Luna Pink Luna Pink
Nova Nova
Nova Nova Alt
Nova Nova Accent

PREMIUM TEMPLATES

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

DataTable Row Grouping

Rows can be grouped in two ways, using rowGroup component or with groupRow attribute on a column.

Header Row
RepresentativeNameCountryCompanyStatusDate
Amy Elsner
Amy ElsnerEmily Whobrey AustraliaRangoni Of Florence PROPOSAL02/01/2021
Amy ElsnerArvin Albares JapanKing, Christopher A Esq PROPOSAL02/05/2021
Amy ElsnerCody Saylors ItalyFeltz Printing Service RENEWAL02/11/2021
Amy ElsnerMunro Ferencz CanadaCommercial Press NEW02/20/2021
Amy ElsnerJuan Wieser SpainChanay, Jeffrey A Esq UNQUALIFIED02/12/2021
Amy ElsnerJennifer Amigon RussiaFeltz Printing Service RENEWAL02/18/2021
Total Customers:6
Anna Fali
Anna FaliSinclair Waycott CanadaTruhlar And Truhlar Attys UNQUALIFIED02/17/2021
Anna FaliNicolas Iturbide ArgentinaChapman, Ross E Esq QUALIFIED02/05/2021
Anna FaliMaria Marrier SpainDorl, James J Esq RENEWAL02/13/2021
Anna FaliStacey Maclead ArgentinaChemel, James L Cpa NEGOTIATION02/15/2021
Anna FaliRodrigues Campain BrazilFeltz Printing Service UNQUALIFIED02/04/2021
Total Customers:5
Asiya Javayant
Asiya JavayantSalvatore Stockham AustraliaMorlong Associates NEW02/19/2021
Asiya JavayantJulie Stenseth SpainPrinting Dimensions UNQUALIFIED02/22/2021
Asiya JavayantAika Inouye SpainFeiner Bros UNQUALIFIED02/21/2021
Asiya JavayantDarci Poquette BrazilMorlong Associates NEGOTIATION02/09/2021
Asiya JavayantJuan Wieser FranceRangoni Of Florence NEGOTIATION01/29/2021
Total Customers:5
Bernardo Dominic
Bernardo DominicMaisha Rulapaugh CanadaTruhlar And Truhlar Attys RENEWAL02/13/2021
Bernardo DominicAruna Figeroa JapanChanay, Jeffrey A Esq NEW02/12/2021
Bernardo DominicDeepesh Chui SpainDorl, James J Esq UNQUALIFIED02/26/2021
Total Customers:3
Elwin Sharvill
Elwin SharvillStacey Maclead CanadaCommercial Press NEGOTIATION02/21/2021
Elwin SharvillKaitlin Ostrosky AustraliaRangoni Of Florence NEGOTIATION02/03/2021
Elwin SharvillCody Saylors ArgentinaTruhlar And Truhlar Attys NEGOTIATION02/20/2021
Elwin SharvillKaitlin Ostrosky GermanyDorl, James J Esq NEGOTIATION01/28/2021
Total Customers:4
Ioni Bowcher
Ioni BowcherMunro Ferencz RussiaChanay, Jeffrey A Esq NEGOTIATION02/14/2021
Ioni BowcherDeepesh Chui AustraliaRangoni Of Florence RENEWAL02/15/2021
Ioni BowcherChavez Briddick CanadaFeiner Bros NEW02/21/2021
Ioni BowcherJeanfrancois Venere ArgentinaFeiner Bros PROPOSAL02/13/2021
Ioni BowcherIsabel Bowley CanadaRousseaux, Michael Esq UNQUALIFIED02/13/2021
Ioni BowcherCody Saylors AustraliaRangoni Of Florence UNQUALIFIED01/31/2021
Total Customers:6
Ivan Magalhaes
Ivan MagalhaesKadeem Flosi BrazilRousseaux, Michael Esq QUALIFIED02/06/2021
Ivan MagalhaesLeja Caldarera SpainDorl, James J Esq NEGOTIATION02/05/2021
Ivan MagalhaesMayumi Kolmetz SpainFeiner Bros PROPOSAL02/07/2021
Ivan MagalhaesFaith Gillian United KingdomFeiner Bros PROPOSAL02/01/2021
Ivan MagalhaesDeepesh Chui GermanyBuckley Miller Wright RENEWAL02/20/2021
Ivan MagalhaesIzzy Garufi FranceTruhlar And Truhlar Attys QUALIFIED02/15/2021
Ivan MagalhaesMorrow Ruta BrazilFeltz Printing Service UNQUALIFIED02/18/2021
Ivan MagalhaesJones Vocelka FranceDorl, James J Esq UNQUALIFIED02/14/2021
Total Customers:8
Onyama Limba
Onyama LimbaJames Butt ItalyChemel, James L Cpa QUALIFIED02/12/2021
Onyama LimbaIzzy Garufi GermanyChemel, James L Cpa QUALIFIED02/21/2021
Total Customers:2
Stephen Shaw
Xuxue Feng
Xuxue FengJulie Stenseth JapanDorl, James J Esq QUALIFIED01/29/2021
Xuxue FengTony Foller GermanyFeiner Bros NEGOTIATION02/15/2021
Xuxue FengMaisha Rulapaugh FrancePrinting Dimensions UNQUALIFIED02/04/2021
Xuxue FengTony Foller AustraliaBuckley Miller Wright RENEWAL01/29/2021
Total Customers:4
Rowspan
RepresentativeNameCountryCompanyStatusDate
Amy ElsnerEmily Whobrey AustraliaRangoni Of Florence PROPOSAL02/01/2021
Amy ElsnerArvin Albares JapanKing, Christopher A Esq PROPOSAL02/05/2021
Amy ElsnerCody Saylors ItalyFeltz Printing Service RENEWAL02/11/2021
Amy ElsnerMunro Ferencz CanadaCommercial Press NEW02/20/2021
Amy ElsnerJuan Wieser SpainChanay, Jeffrey A Esq UNQUALIFIED02/12/2021
Amy ElsnerJennifer Amigon RussiaFeltz Printing Service RENEWAL02/18/2021
Anna FaliSinclair Waycott CanadaTruhlar And Truhlar Attys UNQUALIFIED02/17/2021
Anna FaliNicolas Iturbide ArgentinaChapman, Ross E Esq QUALIFIED02/05/2021
Anna FaliMaria Marrier SpainDorl, James J Esq RENEWAL02/13/2021
Anna FaliStacey Maclead ArgentinaChemel, James L Cpa NEGOTIATION02/15/2021
Anna FaliRodrigues Campain BrazilFeltz Printing Service UNQUALIFIED02/04/2021
Asiya JavayantSalvatore Stockham AustraliaMorlong Associates NEW02/19/2021
Asiya JavayantJulie Stenseth SpainPrinting Dimensions UNQUALIFIED02/22/2021
Asiya JavayantAika Inouye SpainFeiner Bros UNQUALIFIED02/21/2021
Asiya JavayantDarci Poquette BrazilMorlong Associates NEGOTIATION02/09/2021
Asiya JavayantJuan Wieser FranceRangoni Of Florence NEGOTIATION01/29/2021
Bernardo DominicMaisha Rulapaugh CanadaTruhlar And Truhlar Attys RENEWAL02/13/2021
Bernardo DominicAruna Figeroa JapanChanay, Jeffrey A Esq NEW02/12/2021
Bernardo DominicDeepesh Chui SpainDorl, James J Esq UNQUALIFIED02/26/2021
Elwin SharvillStacey Maclead CanadaCommercial Press NEGOTIATION02/21/2021
Elwin SharvillKaitlin Ostrosky AustraliaRangoni Of Florence NEGOTIATION02/03/2021
Elwin SharvillCody Saylors ArgentinaTruhlar And Truhlar Attys NEGOTIATION02/20/2021
Elwin SharvillKaitlin Ostrosky GermanyDorl, James J Esq NEGOTIATION01/28/2021
Ioni BowcherMunro Ferencz RussiaChanay, Jeffrey A Esq NEGOTIATION02/14/2021
Ioni BowcherDeepesh Chui AustraliaRangoni Of Florence RENEWAL02/15/2021
Ioni BowcherChavez Briddick CanadaFeiner Bros NEW02/21/2021
Ioni BowcherJeanfrancois Venere ArgentinaFeiner Bros PROPOSAL02/13/2021
Ioni BowcherIsabel Bowley CanadaRousseaux, Michael Esq UNQUALIFIED02/13/2021
Ioni BowcherCody Saylors AustraliaRangoni Of Florence UNQUALIFIED01/31/2021
Ivan MagalhaesKadeem Flosi BrazilRousseaux, Michael Esq QUALIFIED02/06/2021
Ivan MagalhaesLeja Caldarera SpainDorl, James J Esq NEGOTIATION02/05/2021
Ivan MagalhaesMayumi Kolmetz SpainFeiner Bros PROPOSAL02/07/2021
Ivan MagalhaesFaith Gillian United KingdomFeiner Bros PROPOSAL02/01/2021
Ivan MagalhaesDeepesh Chui GermanyBuckley Miller Wright RENEWAL02/20/2021
Ivan MagalhaesIzzy Garufi FranceTruhlar And Truhlar Attys QUALIFIED02/15/2021
Ivan MagalhaesMorrow Ruta BrazilFeltz Printing Service UNQUALIFIED02/18/2021
Ivan MagalhaesJones Vocelka FranceDorl, James J Esq UNQUALIFIED02/14/2021
Onyama LimbaJames Butt ItalyChemel, James L Cpa QUALIFIED02/12/2021
Onyama LimbaIzzy Garufi GermanyChemel, James L Cpa QUALIFIED02/21/2021
Stephen ShawTony Foller CanadaDorl, James J Esq RENEWAL01/28/2021
Stephen ShawEmily Whobrey AustraliaTruhlar And Truhlar Attys NEGOTIATION02/05/2021
Stephen ShawTony Foller FranceChanay, Jeffrey A Esq RENEWAL01/31/2021
Stephen ShawStacey Maclead FranceChapman, Ross E Esq PROPOSAL02/18/2021
Stephen ShawDeepesh Chui United KingdomTruhlar And Truhlar Attys NEGOTIATION02/07/2021
Stephen ShawFaith Gillian FranceCommercial Press UNQUALIFIED02/03/2021
Stephen ShawSmith Glick RussiaKing, Christopher A Esq RENEWAL02/14/2021
Xuxue FengJulie Stenseth JapanDorl, James J Esq QUALIFIED01/29/2021
Xuxue FengTony Foller GermanyFeiner Bros NEGOTIATION02/15/2021
Xuxue FengMaisha Rulapaugh FrancePrinting Dimensions UNQUALIFIED02/04/2021
Xuxue FengTony Foller AustraliaBuckley Miller Wright RENEWAL01/29/2021

<div class="card">
    <h5 class="first">Header Row</h5>
    <h:form>
        <p:dataTable var="customer" value="#{dtRowGroupView.customers}" sortBy="#{customer.representative.name}">
            <p:headerRow field="representative.name"
                         expandable="true" 
                         expanded="#{customer.representative.name != 'Stephen Shaw'}">
                
                <p:column colspan="6">
                    <div class="p-d-inline-flex p-ai-center" style="vertical-align: middle">
                        <p:graphicImage name="images/avatar/#{customer.representative.image}" library="demo" width="32" style="vertical-align: middle"/>
                        <h:outputText styleClass="p-ml-2" value="#{customer.representative.name}"/>
                    </div>
                </p:column>
            </p:headerRow>

            <p:column headerText="Representative">
                <h:outputText value="#{customer.representative.name}" />
            </p:column>

            <p:column headerText="Name">
                <h:outputText value="#{customer.name}" />
            </p:column>

            <p:column headerText="Country">
                <span class="flag flag-#{customer.country.code}" style="width: 30px; height: 20px"/>
                <h:outputText style="vertical-align: middle; margin-left: .5rem" value="#{customer.country}"/>
            </p:column>

            <p:column headerText="Company">
                <h:outputText value="#{customer.company}" />
            </p:column>

            <p:column headerText="Status">
                <span class="customer-badge status-#{customer.status.name().toLowerCase()}">#{customer.status}</span>
            </p:column>

            <p:column headerText="Date">
                <h:outputText value="#{customer.date}">
                    <f:convertDateTime pattern="MM/dd/yyyy" type="localDate"/>
                </h:outputText>
            </p:column>

            <p:summaryRow>
                <p:column colspan="5" style="text-align:right">
                    <h:outputText value="Total Customers:"/>
                </p:column>
                <p:column>
                    <h:outputText value="#{dtRowGroupView.getTotalCount(customer.representative.name)}"/>
                </p:column>
            </p:summaryRow>
        </p:dataTable>
    </h:form>
</div>

<div class="card">
    <h5>Rowspan</h5>
    <h:form>
        <p:dataTable var="customer" value="#{dtRowGroupView.customers}">
            <p:column  headerText="Representative" groupRow="true">
                <p:graphicImage name="images/avatar/#{customer.representative.image}" library="demo"
                                width="32" style="vertical-align: middle"/>
                <h:outputText style="vertical-align: middle; margin-left: .5rem"
                              value="#{customer.representative.name}"/>
            </p:column>

            <p:column headerText="Name">
                <h:outputText value="#{customer.name}" />
            </p:column>

            <p:column headerText="Country">
                <span class="flag flag-#{customer.country.code}" style="width: 30px; height: 20px"/>
                <h:outputText style="vertical-align: middle; margin-left: .5rem" value="#{customer.country}"/>
            </p:column>

            <p:column headerText="Company">
                <h:outputText value="#{customer.company}" />
            </p:column>

            <p:column headerText="Status">
                <span class="customer-badge status-#{customer.status.name().toLowerCase()}">#{customer.status}</span>
            </p:column>

            <p:column headerText="Date">
                <h:outputText value="#{customer.date}">
                    <f:convertDateTime pattern="MM/dd/yyyy" type="localDate"/>
                </h:outputText>
            </p:column>
        </p:dataTable>
    </h:form>
</div>