Skip to main content
FORUM PLAN UPDATE: Date revision: This forum will remain open to new posts and responses until December 1, 2018. (After that date, you will still be able to view and search the forum.) Also, we're taking a second look at the best place to host future conversation. For now, keep using this forum, and stay tuned for more news.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

IBM Lotus Notes/Domino 8.5 Forum (includes Lotus Notes Traveler)

Sign in to participate
Subject: XPages: Scrollable viewPanel - can it be done?
Feedback Type: Question
Product Area: Domino Designer on Eclipse (DDE)
Technical Area: Application Development
Platform: Windows
Release: 8.5.1
Reproducible: Always

On a viewPanel, I'd like to have the view data contained within a vertical scrollable region. I've been able to attach a scroll bar by wrapping the viewPanel in an <xp:panel> with a style of "overflow:auto" but I can't seem to get the View Column Headers to be outside of the scrolling region. The <xp:viewColumnHeader> tags are embedded/tied to the <xp:viewColumn> tags & if you try to separate them out, the view doesn't display at all. I also tried embedding the View Column Headers in the pager area la the xp-key="headerPager" route, using raw HTML but the resulting headers were very tiny and didn't line up with the columns. Am I doomed to use pagers?

Maybe I'm not approaching this correctly. Has anyone been able to do this? Since these are categorized views, I haven't wanted to go down the "Use a Repeat control" route.

Thanks for any help.

My code:
<xp:panel id="viewDiv" styleClass="divScrollAuto"
<xp:viewPanel rows="0" id="viewPanel1" viewStyle="width:100%"
pageName="/xpProduct.xsp" partialRefresh="true" value="#{view1}">

<xp:viewColumn columnName="Operation Division"
collapsedImage="/collapseTwistie.gif" disableTheme="true"
indentResponses="true" expandedImage="/expandTwistie.gif">
<xp:viewColumnHeader id="viewColumnHeader1"
styleClass="viewColHeader textColHeader"
value="Operation Division">

<xp:viewColumn columnName="Status" id="viewColumn2"
collapsedImage="/collapseTwistie.gif" disableTheme="true"
<xp:viewColumnHeader value="Status"
id="viewColumnHeader2" styleClass="viewColHeader textColHeader">

(etc. ... )

<xp:viewColumn columnName="Project Leader" id="viewColumn7"
<xp:viewColumnHeader value="Project Leader"
id="viewColumnHeader7" styleClass="viewColHeader textColHeader">
<xp:viewColumn id="viewColumn8" columnName="Project">
<xp:viewColumnHeader id="viewColumnHeader8"
value="Project" styleClass="viewColHeader textColHeader">


Feedback number JKIN88GLST created by Judy Kilpinen on 08/19/2010

Status: Open

XPages: Scrollable viewPanel - can ... (Judy Kilpinen 19.Aug.10)
. . Any progress? (Tina Schreiber 15.Sep.10)
. . . . No progress I'm afraid ... (judy kilpinen 30.Sep.10)
. . Better late than never (Alex Zimarev 12.Jul.12)


Search this forum

Sign In or Register

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite