DataScroller - Inline In inline mode, data is loaded on scroll event of the component itself.
Scroll Down to Load More Cars
  • Id: f2579b02
    Year: 1990
    Color: Black
  • Id: dfc397c5
    Year: 2003
    Color: Black
  • Id: be9f7d6f
    Year: 1986
    Color: Brown
  • Id: d7d934b0
    Year: 2003
    Color: Yellow
  • Id: d4fb88e2
    Year: 1960
    Color: Black
  • Id: 0ce711d2
    Year: 2003
    Color: Green
  • Id: 7c65d7a7
    Year: 2007
    Color: Maroon
  • Id: 64a8da3b
    Year: 1983
    Color: Brown
  • Id: 6f55a668
    Year: 2006
    Color: Maroon
  • Id: 88d76f70
    Year: 1964
    Color: Yellow
    <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"/>
PrimeTek, Copyright © 2017
All rights reserved.
Running PrimeFaces-6.2-SNAPSHOT on Mojarra-2.3.2.