3 Replies Latest reply on Jul 5, 2007 3:20 AM by n/a n/a

    Reset of datascroller back to first page

    n/a n/a Newbie


      If anyone is experiancing problems with datascroller not being refreshed back to first page after content of associated dataTable changes, try following:

      - Use latest version of RichFaces 3.0.1 (http://repository.jboss.com/maven2/org/richfaces/richfaces/3.0.1/)
      - Build latest source of Ajax4jsf (http://anonsvn.jboss.org/repos/ajax4jsf/)

      In your code write something like this:

      private void resetDatascroller()
      HtmlDatascroller scroller = ...

      Call this method each time when dataTable content changes.

      This works for me.