Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: How to prevent JPivot from reseting scroll bars after a drill ?

  1. #1
    Join Date
    Mar 2007
    Posts
    216

    Smile How to prevent JPivot from reseting scroll bars after a drill ?

    Hi,

    When I browse a JPivot table, each time I drill (e.g. click on the "+" in front of an All member), there is a reset on the scroll bars :
    -the horizontal is back to left
    -the vertical is back to top
    So, the view is back to top-left.
    That's a bad thing when you have lot's of dimensions because you have to re-scroll to find your data each time you drilled.
    Maybe there is way to save the scroll bars position, or maybe I should ask for it on javaforge.
    Does anyone knows how to prevent JPivot from reseting scroll bars after a drill ?

    a+, =)
    -=Clément=-

  2. #2
    Join Date
    Mar 2007
    Posts
    216

    Smile

    Hi,

    As there is no answer I'm gonna ask for something like :
    Code:
        <script type="text/javascript">
            function reFresh()
            {
                document.cookie = 'scrollTop=' + document.body.scrollTop;
                document.location.reload(true);
            }
            window.onload = function()
            {
                var scrollTop = parseInt(document.cookie.replace(/scrollTop=([0-9]+)/, '$1'));
                if (!isNaN(scrollTop))
                          document.body.scrollTop = scrollTop;
            }
            window.setTimeout("reFresh()",5000);
        </script>
    on javaforge.

    a+, =)
    -=Clément=-

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.