DataScroller - Basic

DataScroller displays data with on demand loading using scroll.

Scroll Down to Load More Cars
  • Id: 8addd2d8
    Year: 1992
    Color: Black
  • Id: ade5ba1d
    Year: 1970
    Color: Green
  • Id: e6d68022
    Year: 1974
    Color: Maroon
  • Id: ac568439
    Year: 2004
    Color: White
  • Id: b0332590
    Year: 1960
    Color: Orange
  • Id: 73da4fda
    Year: 1971
    Color: Red
  • Id: 06cdb212
    Year: 1970
    Color: Orange
  • Id: 7d0e6466
    Year: 1983
    Color: Brown
  • Id: 3c19bd87
    Year: 1969
    Color: Silver
  • Id: b18ba39b
    Year: 1974
    Color: Orange
    <p:dataScroller value="#{}" var="car" chunkSize="10">
        <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"/>