4 Replies Latest reply on Feb 3, 2010 6:28 PM by Tim Evers

    Scroll at bottom of rich:scrollableDataTable

    Lukáš Fryč Master

      I'm working on Jabber client sample using RichFaces.

       

      I decided to use rich:scrollableDataTable, since there is no need for storing whole history of chat at client-side.

       

       

      The history of chat is traditionally displayed from ascendant by date manner and I want that habit follow too.

       

      I require to:

       

      1. check if table is actually at the bottom before re-rendering (some JS call onbeforedomupdate)

      2. if table was at bottom, rerender and scroll automatically down to the bottom (some JS call oncomplete)

       

      Is there way to control the table via API or regular JS to scroll it down to the bottom?