Jump to content

How to prevent vertical scrollbar from appearing in Portal


Recommended Posts

The portal page consists of one html document created using AppStudio.  The html document has an iframe and when the report is run, the output is directed to this iframe.  The size of the iframe is large enough to display the width and length of the report.

However, there is a vertical scroll bar that appears no matter the length of the report.  Below is an image where you can see there is a lot of white space below the end of the report.  The iframe border is visible.

What I have tried:  In the fex, I tried changing this:

ON TABLE SET AUTOFIT OFF

to

ON TABLE SET AUTOFIT ON
 

but this did not help and actually added a horizontal scroll bar which was even less useful.  Do you know if there is a setting(s) in AppStudio that can alter this behavior?

Thank you.

Todd

image.thumb.png.928821b0c45a21fddff2a046cfe3c4be.png

Link to comment
Share on other sites

David - yes, HFREEZE=ON.  The scrollbar does go away for the short reports if I turn this OFF.  However, I would prefer this to be ON and not have the scroll bar so that the user can see the grand totals without scrolling. Any other options?  Or is this an enhancement request?  Thank you.

Link to comment
Share on other sites

Maybe SCROLLHEIGHT=AUTO, would help?

 TABLE FILE GGSALES
 SUM UNITS DOLLARS
 BY REGION BY ST BY CITY BY DATE
 ON TABLE SET SHOWBLANKS ON
 ON TABLE SET BYDISPLAY ON
 ON TABLE SET PAGE NOLEAD
 ON TABLE SET STYLE * 
 TYPE=REPORT, BORDER=LIGHT, BORDER-COLOR=RGB(220 220 220), FONT=ARIAL,
              HFREEZE=ON, SCROLLHEIGHT=AUTO, $
 TYPE=TITLE, BACKCOLOR=RGB(220 220 220), $
 TYPE=DATA,  BACKCOLOR=(BY=B3 RGB(245 245 245) WHITE), $
 END 

The scrollable area will expand vertically for the size of the iframe. Or if the rows all fit in the iframe then no scroller.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...