DataScroller - Inline In inline mode, data is loaded on scroll event of the component itself.
Scroll Down to Load More Cars
  • Id: 064a96d3
    Year: 1981
    Color: Red
  • Id: ced658c9
    Year: 1969
    Color: Orange
  • Id: 02803f07
    Year: 1982
    Color: Brown
  • Id: 32b3f3c8
    Year: 1992
    Color: Yellow
  • Id: 70616fd1
    Year: 1977
    Color: Green
  • Id: e844d71e
    Year: 1961
    Color: Orange
  • Id: 2dde9128
    Year: 1997
    Color: Orange
  • Id: 57df4040
    Year: 2008
    Color: Red
  • Id: e8bad890
    Year: 1982
    Color: Yellow
  • Id: 36dc0c86
    Year: 1974
    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.RC1 on Mojarra-2.3.2.