Focal Point
[SOLVED]Removing Scroll bars from Portal Panel

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5347030086

December 30, 2015, 05:09 PM
capples
[SOLVED]Removing Scroll bars from Portal Panel
When placing reports into panels within a portal, I would like to have the last line of the report/table to be flush with the bottom of the panel. If I size the panel where it looks flush, a scroll bar is added to the panel. Is there any way to disable this within the report or the portal? I couldn't find an option in the portal editor GUI. I was also thinking that something in the stylesheet could be changed as well, but that's just a guess.

Has anyone else ran across this issue and fixed it? It's really annoying having to size my panels bigger than they need to be just to get rid of the bars.

Thanks,
Clint

This message has been edited. Last edited by: capples,


WF 8.2.0.3
Windows 10 64bit
HTML, AHTML, PDF, Excel
December 30, 2015, 05:16 PM
Waz
You should be able to set the width and height of a panel to auto, this way if the report fits inside the panel, there will be no scroll bars


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 30, 2015, 05:32 PM
capples
I set the height to Auto which just seemed to make all of the panels in that column the same height. Here's a screenshot (from phone, can't upload due to Citrix...) of what's happening:


If you look at the first panel, it looks clearly large enough to show the data, but it is showing a scroll bar.

This message has been edited. Last edited by: capples,


WF 8.2.0.3
Windows 10 64bit
HTML, AHTML, PDF, Excel
December 30, 2015, 05:47 PM
Waz
I think I would look into the report, and if there is any footing.

Also I tend to use Chrome for debugging this sort of stuff with the Develop tools (ctrl+shift+i), you can discover what is causing the scroll bars.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 30, 2015, 05:57 PM
capples
Good idea on the dev tools. I looked at the report in the developer options of IE10 (unfortunately can't get Chrome due to IT department) and it looks like there is an extra html tr tag in the table, causing an extra row. Seems like our stylesheet might be causing it as I completely removed the style sheet and that removed the row.

Thanks for the ideas Waz


WF 8.2.0.3
Windows 10 64bit
HTML, AHTML, PDF, Excel
December 30, 2015, 06:06 PM
Waz
There are options to remove blank lines with SET commands, you should do a search of the forum.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

December 30, 2015, 06:35 PM
capples
I've ran into this issue before regarding blank lines above the table rather than below and couldn't find a way to remove them. When I searched I found people that had the same issue, but there didn't seem to be a good fix that I could find.

I've tried the SET DROPBLNKLINE=ON command before and it didn't seem to have an impact. It seems to be something regarding styling and GRID options. I can remove the line if I remove certain style command from the style sheet that impact things such as the headers,footers,subtotals, etc. The resulting report is ugly as it has the grid lines being visible.

I'll open a ticket with IBI to see if they can assist with this.

Thanks


WF 8.2.0.3
Windows 10 64bit
HTML, AHTML, PDF, Excel