Locale

Change the locale of the datepicker, schedule and client side validation messages.

Input Style

Free Themes

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

PrimeOne Design

Saga Saga
Vela Vela
Arya Arya

Premium Themes

Premium themes are only available exclusively for PrimeFaces Theme Designer subscribers and therefore not included in PrimeFaces core.

bootstrap4-blue-light Bootstrap Blue
bootstrap4-purple-light Bootstrap Purple
bootstrap4-blue-dark Bootstrap Blue
bootstrap4-purple-dark Bootstrap Purple

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

Header of the datatable can be fixed to keep it in viewport during scroll.

CodeNameCategoryPrice
av2231fwgBrown PurseAccessories$120.0
250vm23ccGreen T-ShirtClothing$49.0
zz21cz3c1Blue BandFitness$79.0
k8l6j58jlLime BandFitness$79.0
pxpzczo23Purple BandFitness$79.0
5k43kkk23Purple T-ShirtClothing$49.0
av2231fwgBrown PurseAccessories$120.0
v435nn85nMini SpeakersClothing$85.0
acvx872gcYellow EarbudsElectronics$89.0
v435nn85nMini SpeakersClothing$85.0
4920nnc2dGreen EarbudsElectronics$89.0
nbm5mv45nSneakersClothing$78.0
gwuby345vYoga SetFitness$20.0
pxpzczo23Purple BandFitness$79.0
zz21cz3c1Blue BandFitness$79.0
zz21cz3c1Blue BandFitness$79.0
h456wer53BraceletAccessories$15.0
4920nnc2dGreen EarbudsElectronics$89.0
acvx872gcYellow EarbudsElectronics$89.0
waas1x2asHeadphonesElectronics$175.0
acvx872gcYellow EarbudsElectronics$89.0
fldsmn31bGrey T-ShirtClothing$48.0
fldsmn31bGrey T-ShirtClothing$48.0
5k43kkk23Purple T-ShirtClothing$49.0
250vm23ccGreen T-ShirtClothing$49.0
gwuby345vYoga SetFitness$20.0
zx23zc42cTeal T-ShirtClothing$49.0
nbm5mv45nSneakersClothing$78.0
2c42cb5cbPurple Gemstone NecklaceAccessories$45.0
acvx872gcYellow EarbudsElectronics$89.0
k8l6j58jlLime BandFitness$79.0
plb34234vGold Phone CaseAccessories$24.0
zx23zc42cTeal T-ShirtClothing$49.0
zx23zc42cTeal T-ShirtClothing$49.0
acvx872gcYellow EarbudsElectronics$89.0
pxpzczo23Purple BandFitness$79.0
lm2tny2k4ShoesClothing$64.0
244wgerg2Blue T-ShirtClothing$29.0
waas1x2asHeadphonesElectronics$175.0
tx125ck42Yoga MatFitness$20.0
vb34btbg5Light Green T-ShirtClothing$49.0
waas1x2asHeadphonesElectronics$175.0
09zx9c0zcPainted Phone CaseAccessories$56.0
acvx872gcYellow EarbudsElectronics$89.0
2c42cb5cbPurple Gemstone NecklaceAccessories$45.0
lm2tny2k4ShoesClothing$64.0
av2231fwgBrown PurseAccessories$120.0
r23fwf2w3Pink PurseAccessories$110.0
v435nn85nMini SpeakersClothing$85.0
zz21cz3c1Blue BandFitness$79.0

<div class="card">
    <p:dataTable var="product" value="#{dtStickyView.products}" stickyHeader="true" stickyTopAt=".layout-topbar">
        <p:column headerText="Code">
            <h:outputText value="#{product.code}"/>
        </p:column>
        <p:column headerText="Name">
            <h:outputText value="#{product.name}"/>
        </p:column>
        <p:column headerText="Category">
            <h:outputText value="#{product.category}"/>
        </p:column>
        <p:column headerText="Price">
            <h:outputText value="$#{product.price}"/>
        </p:column>
    </p:dataTable>
</div>