4 Replies Latest reply on Jul 7, 2008 1:37 PM by Martin Jozef

    Control multiple datascrollers on a page

    Martin Jozef Newbie

      Here is an example of my use case

      <!-- the following is embedded in a <rich:tab> ajax enebled -->
      <rich:dataGrid >
       <!-- togglePanel in here and other stuff -->
      <rich:dataTable rows="5" >
       <h:inputText />
       <rich:calendar />
       <!-- lot's of input and about 8 columns -->
       <f:facet name="footer">
       <rich:datascroller id="scroller" align="center" ajaxSingle="false" />

      When i use the scroller in any of the generated tables
      and then transition between TABS all of the datascrollers jump to the position of the last used scroller.

      This is bad since some scrollers get position index that is out of bound. Anyway each table should retains it's own position and not synchronize to a request value that all scrollers share.

      How can i ensure that each datatable rendered on my TAB retains it's own scroll index when moving from tab to tab?
      Or at least how to reset every table to come back to position one?

      Could this possibly be a bug that i should report, or maybe it's a known limitation for datascrollers?