2 Replies Latest reply on Jan 30, 2008 9:24 AM by lmk

    datascroller  display only first page?

    lmk

      helloo all,

      I cant' use correctly the datascroller with dataTable . when I click into the second page, no rows was shown..
      the code below contains any problem?

      thanks

      <rich:dataTable cellpadding="0" cellspacing="0" border="0" var="list" value="#{bean.results}" id="tab" rows="50" rowClasses="even-row ,odd-row " style="width:1200px">
      <rich:column id="date">
      <f:facet name="header">
      <h:outputText value="#{msg.label_date}" />
      </f:facet>
      <h:outputText value="#{list.date}">
      </h:outputText>
      </rich:column>
      <rich:column id="user">
      <f:facet name="header">
      <h:outputText value="#{msg.label_user}" />
      </f:facet>
      <h:outputText value="#{list.lastname} #{list.firstname}" />
      </rich:column>
      </rich:dataTable>
      <rich:datascroller align="left" for="tab" maxPages="20" />