DataScroller - Inline

In inline mode, data is loaded on scroll event of the component itself.

Scroll Down to Load More Cars
  • Id: 5374039e
    Year: 1998
    Color: Maroon
  • Id: faf59a75
    Year: 1976
    Color: Orange
  • Id: 9383d99f
    Year: 1969
    Color: Black
  • Id: b44cc4cd
    Year: 1998
    Color: Red
  • Id: 1fa5657f
    Year: 1976
    Color: Brown
  • Id: 9e006e22
    Year: 1977
    Color: Green
  • Id: e73b2442
    Year: 1970
    Color: Brown
  • Id: 62deb98c
    Year: 2006
    Color: Green
  • Id: c75bf061
    Year: 1963
    Color: Black
  • Id: 5a05b836
    Year: 1990
    Color: Blue
<style type="text/css">
    .logo {
        width: 5%
    .detail {
        width: 95%;
        padding-left: 25px;
    .detail td {
        font-size: 24px;
    .ui-datascroller .ui-datascroller-item {
        border-bottom: 1px solid #A8A8A8;
        padding: 25px 10px;
        /* with the exported variables from Nova and Luna Themes*/
        border-bottom-color: var(--input-border-color, #A8A8A8);

    <p:dataScroller value="#{}" var="car" chunkSize="10" mode="inline" scrollHeight="500">
        <f:facet name="header">
            Scroll Down to Load More Cars

        <h:panelGrid columns="2" style="width:100%" columnClasses="logo,detail">
            <p:graphicImage name="demo/images/car/#{car.brand}-big.gif" /> 

                <h:panelGrid columns="2" cellpadding="5">
                    <h:outputText value="Id:" />
                    <h:outputText value="#{}" style="font-weight: bold"/>

                    <h:outputText value="Year:" />
                    <h:outputText value="#{car.year}" style="font-weight: bold"/>

                    <h:outputText value="Color:" />
                    <h:outputText value="#{car.color}" style="font-weight: bold"/>


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


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