1 Reply Latest reply on Apr 22, 2010 10:52 AM by Josef Eisele

    ExtendedDataTable: Rerender looses Scrollbar-Position

    Josef Eisele Newbie

      Hi All,


      we use Version 3.3.2.SR1 using JSF1.2 on JBoss 5.1.0.GA

      In my current project, we use an ExtendedDataTable with say 100 entries. You see 20 entries and the rest can be accessed changing the Scrollbar-Position. If I select entry 95 (we have selectionMode="single"), this entry is selected - rows 81-100 are shown.

           Afterwards there is some logic which changes the shown data in that row - without going more into detail on that.

      The user wants to see the changed data in the table, therefore I rerender the ExtendedDataTable. And here the problem starts:


      After rerendering the Table, it shows the first 20 rows. Row 95 ist still selected and Model-Data is correct changed, but the selected row is not shown. The user has to change the Scrollbar-Position to see the selected row!!


      Is there a way to avoid this?

      E.g. can I rerender only row 95?

      E.g. How can I save the state of the Scrollbar-Position? (tableState="#{bean.tableState}" seems not saving this kind of state)


      Any help appreciated.


      Kind regards