3 Replies Latest reply on Mar 27, 2009 5:14 AM by Ilya Shaikovsky

    dataGrid navigation problem

    praveen jain Novice

      i am trying to run rich:datagrid example , first time it generates the value
      but when i want to navigate it using <rich:datascroller> it is not navigating.
      i am runing the same example of car model
      <f:facet name="header">
      <h:outputText value="Car Store"></h:outputText>
      <rich:dataGrid value="#{cars.allCars}" var="car" columns="3"
      elements="9" width="600px" id="carList" reRander="true">
      <rich:panel bodyClass="pbody">
      <f:facet name="header">
      <h:outputText value="#{car.make} #{car.model}"></h:outputText>
      <h:panelGrid columns="2">
      <h:outputText value="Price:" styleClass="label"></h:outputText>
      <h:outputText value="#{car.price}" />
      <h:outputText value="Mileage:" styleClass="label"></h:outputText>
      <h:outputText value="#{car.mileage}" />
      <h:outputText value="VIN:" styleClass="label"></h:outputText>
      <h:outputText value="#{car.vin}" />
      <h:outputText value="Stock:" styleClass="label"></h:outputText>
      <h:outputText value="#{car.stock}" />
      <h:outputText value="#{car.cnt}" />
      <f:facet name="footer">
      <rich:datascroller align="left" for="carList" maxPages="20"
      id="sc2" />

      but it is not working.