ICEfaces
  1. ICEfaces
  2. ICE-1571

Scrollable DataTable not maintaining scroll-state

    Details

      Description

      On a dataTable with the scrollable attribute set to true, the scroll-state is not maintained after a partialSubmit.

        Issue Links

          Activity

          Show
          Philip Breau added a comment - http://www.icefaces.org/JForum/posts/list/4616.page
          Hide
          Jason Dilley added a comment -

          Any hope of this being fixed (or even assigned) anytime in the next two years? This is a serious issue.

          Show
          Jason Dilley added a comment - Any hope of this being fixed (or even assigned) anytime in the next two years? This is a serious issue.
          Hide
          Barbara Sutton added a comment -

          Yes, I agree. This problem is causing us siginificant issue with the field techs who use our software. We are getting a lot of complaints and need a fix.

          Show
          Barbara Sutton added a comment - Yes, I agree. This problem is causing us siginificant issue with the field techs who use our software. We are getting a lot of complaints and need a fix.
          Hide
          Nicolás Amigo added a comment -

          I totally agree with Jason and Barbara, this issue is open for over two years! , I'm working with version 1.8.1 and this issue occurs again and again, we need this to be solved, please

          Show
          Nicolás Amigo added a comment - I totally agree with Jason and Barbara, this issue is open for over two years! , I'm working with version 1.8.1 and this issue occurs again and again, we need this to be solved, please
          Hide
          Dwight Harms added a comment -

          Also, the scroll position should be settable from server-side code, since the app may want (for example) to position the list to a particular area when it is first displayed.

          Show
          Dwight Harms added a comment - Also, the scroll position should be settable from server-side code, since the app may want (for example) to position the list to a particular area when it is first displayed.
          Hide
          Michael Mesiti added a comment -

          The scroll position on components seem to work but ONLY after the first submit on a page.

          For example, if you have a <ice:panelGroup scrollHeight="200px"> on a page, and a <ice:selectInputDate , when you first select a date, the panel group will reset to the top. If you select a data again, and all subsequent selections, the panel group scroll position works flawlessly (even after rescrolling). You can click other components, commandbuttons, etc, all work perfectly, but it must be after the first action before things work.

          I am using icefaces EE 2.0 with Mojarra 2.1.1 (I also tried 2.1.3)

          One thing I did noticed is that after selecting a date the first time, this is printed to the console:
          [window] append missing "javax.faces.ViewState" input element to form["vsxko5ij"]

          Should no view state yet exist for the components on first load, how can the scroll position be maintained?

          Ultimately this CAN be fixed and MUST be fixed. I share the same sentiment as other developers. I know a lot of effort is being put into icefaces - but it is important that attention to detail on things like this take top priority. Otherwise these components don't have much value.

          Show
          Michael Mesiti added a comment - The scroll position on components seem to work but ONLY after the first submit on a page. For example, if you have a <ice:panelGroup scrollHeight="200px"> on a page, and a <ice:selectInputDate , when you first select a date, the panel group will reset to the top. If you select a data again, and all subsequent selections, the panel group scroll position works flawlessly (even after rescrolling). You can click other components, commandbuttons, etc, all work perfectly, but it must be after the first action before things work. I am using icefaces EE 2.0 with Mojarra 2.1.1 (I also tried 2.1.3) One thing I did noticed is that after selecting a date the first time, this is printed to the console: [window] append missing "javax.faces.ViewState" input element to form ["vsxko5ij"] Should no view state yet exist for the components on first load, how can the scroll position be maintained? Ultimately this CAN be fixed and MUST be fixed. I share the same sentiment as other developers. I know a lot of effort is being put into icefaces - but it is important that attention to detail on things like this take top priority. Otherwise these components don't have much value.
          Hide
          Mircea Toma added a comment -

          Introduced 'scrollPosition' binding that can be used to preserve the scroll position after a page reload. The scroll position is sent 400ms after the scrolling has stopped. When the page is loaded the script element inserted by the TableRenderer will reset scrolling position to where it was previously.
          The'scrollPosition' binding needs to be done to a bean that survives a page reload, such as 'window' scope.

          Show
          Mircea Toma added a comment - Introduced 'scrollPosition' binding that can be used to preserve the scroll position after a page reload. The scroll position is sent 400ms after the scrolling has stopped. When the page is loaded the script element inserted by the TableRenderer will reset scrolling position to where it was previously. The'scrollPosition' binding needs to be done to a bean that survives a page reload, such as 'window' scope.

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Philip Breau
            • Votes:
              27 Vote for this issue
              Watchers:
              18 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: