This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Jun 27, 2012, 9:03 PM
20 Posts

"Sticky" scrollbar wanted

  • Category: Styles and Themes
  • Platform: All
  • Release: 8.5.3
  • Role: Developer
  • Tags: viewpanel,scroll,scrollbar
  • Replies: 1
 In an XPage, I have a viewPanel control enclosed within a Panel container with style "overflow:auto."
This allows me to scroll the contents of the viewPanel without scrolling the entire XPage.  When I open a document from the viewPanel, then close the document to return the XPage containing the viewPanel, the scrollbar is positioned at the top of the view.  I would prefer it to remain parked in the same position  that I left it, which seems to be the default behavior in a Domino view.  Is there a way to do this by setting viewPanel properties or CSS styles?  I tried using the pagerSaveState control from the OpenNTF Extension Library, but it doesn't preserve the state of the scrollbar when I return to the view after closing an XPage.
Jul 20, 2012, 12:48 PM
586 Posts
Re: "Sticky" scrollbar wanted
 I'm just starting to look into this myself.  It seems like it's possible with client side javascript.

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal