ICEfaces
  1. ICEfaces
  2. ICE-8536

ace:dataTable scroll state isn't saved between re-renders

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0, EE-3.0.0.GA, 3.1
    • Fix Version/s: EE-3.0.0.GA_P01, 3.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any browser
    • Workaround Exists:
      Yes
    • Workaround Description:
      Without Ajax re-rendering the datatable the scroll position remains the same. Often not an option to remove f:ajax though.

      Description

      When an ace:dataTable has scrollable="true" and a re-render happens on the page (from f:ajax or ace:ajax, for example) the scrollbar will reset to the top of the viewport.

      This is an issue when custom editing or selection is done on the rows that prompts an f:ajax call. The user might be scrolled to the bottom of a big table, select a row, and have the scrollbar reset back to the top.

      Ideally the scroll state would be saved/restored by the ace:dataTable.

        Activity

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Carlo Guglielmin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: