DataScroller - Inline In inline mode, data is loaded on scroll event of the component itself.
Scroll Down to Load More Cars
  • Id: bf3cc384
    Year: 2001
    Color: Brown
  • Id: da666e6b
    Year: 2005
    Color: White
  • Id: 676c7d7a
    Year: 2009
    Color: Brown
  • Id: 05dfdc88
    Year: 1985
    Color: Red
  • Id: bfe353eb
    Year: 1984
    Color: Silver
  • Id: c851f90c
    Year: 1972
    Color: Maroon
  • Id: 53fd2eb4
    Year: 1973
    Color: Red
  • Id: 07ed614d
    Year: 1986
    Color: White
  • Id: d205f1e2
    Year: 2008
    Color: Orange
  • Id: 598318fa
    Year: 1981
    Color: White
    <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.3-SNAPSHOT on Mojarra-2.3.2.