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 Field

Field property is a shorthand to define sort, filter and display properties of a column.

CodeNameCategoryQuantity
f230fh0g3Bamboo WatchAccessories24
nvklal433Black WatchAccessories61
zz21cz3c1Blue BandFitness2
244wgerg2Blue T-ShirtClothing25
h456wer53BraceletAccessories73
av2231fwgBrown PurseAccessories0
bib36pfvmChakra BraceletAccessories5
mbvjkgip5Galaxy EarringsAccessories23
vbb124btrGame ControllerElectronics2
cm230f032Gaming SetElectronics63

<h:form>
    <div class="card">
        <p:dataTable var="row" value="#{dtBasicView.products}">
            <p:column field="code" headerText="Code" sortable="false" filterable="false" />
            <p:column field="name" headerText="Name" />
            <p:column field="category" headerText="Category" />
            <p:column field="quantity" headerText="Quantity" />
        </p:dataTable>
    </div>
</h:form>