Focal Point
[SOLVED] Possible to Freeze Headers or Columns in Active Reports?

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

September 08, 2014, 11:28 AM
A Fisher
[SOLVED] Possible to Freeze Headers or Columns in Active Reports?
I've looked through a lot of the old posts and realize this has been covered repeatedly, but didn't look like it had been covered in the past couple of years, so:

Is it possible to freeze headers or columns in Active reports? Assuming that it's not, aside from pagination, has anyone come up with a creative solution for this issue?

Frozen headers would complement the ability to work with relatively large data sets in active reports.

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 8.2.0.1 / App Studio 8.2.0.1 (04092014) / Windows 7 / HTML5, PDF, XLS
September 10, 2014, 02:18 PM
<Kathryn Henning>
Hi A Fisher,

Please reference the following document link which describes the use of SET LINES and the Active Cache feature. You'll need an account on InfoResponse Online to view the document.

How to freeze Page Headings in an HTML Active Report

Cheers!

Kathryn
September 10, 2014, 04:11 PM
Francis Mariani
You can freeze columns using the FREEZE-COLUMN style-sheet attribute:

TYPE=REPORT, FREEZE-COLUMN=column-name, ...

You can set the number of lines per page using the LINES-PER-PAGE style-sheet attribute:

TYPE=REPORT, LINES-PER-PAGE=20, ...


Here's some WF styling particular to Active Reports, I'm not turning on "Active Cache" and I don't know what that is. It's all described in the Active Technologies User's Guide 7.7.05 (wfactivetech.pdf):

ON TABLE NOTOTAL
ON TABLE HOLD AS HREPORT FORMAT &WFFMT

ON TABLE SET STYLE *

INCLUDE = CPPIB_RPT, $

TYPE=REPORT,
LINES-PER-PAGE=20,
FREEZE-COLUMN=PRTY_LEGAL_NM(2),
ALLOW-PAGINATION=ON,
ALLOW-FILTER=ON,
ALLOW-FREEZE=ON,
ALLOW-SORT=ON,
ALLOW-PRINT=ON,
ALLOW-CALC=OFF,
ALLOW-HIDE=OFF,
ALLOW-CHART=OFF,
ALLOW-EXPORT=OFF,
ALLOW-VISUALIZE=OFF,
ALLOW-ROLLUP=OFF,
ALLOW-PIVOT=OFF,
ALLOW-COMMENTS=OFF,
ALLOW-WINDOW=OFF,
ALLOW-RESTORE=OFF,
ALLOW-SENDEMAIL=OFF,
ALLOW-SAVECHANGE=OFF,
ALLOW-ACCORDION=OFF,
ALLOW-TOOLS=OFF,
SIZE=9,
$

TYPE=REPORT,
GRAPHCOLOR=RGB(79 157 190),
GRAPHCOLORNEG=RGB(242 139 32),
$

TYPE=REPORT,
OBJECT=CURRENT-ROW,
HOVER-BACKCOLOR=RGB(229 239 240),
$

TYPE=REPORT,
OBJECT=STATUS-AREA,
PAGE-LOCATION=TOP,
JUSTIFY=LEFT,
COLOR=RGB(255 255 255),
BACKCOLOR=RGB(204 181 118),
$

TYPE=REPORT,
OBJECT=MENU,
COLOR=RGB(80 80 80),
HOVER-COLOR=RGB(80 80 80),
BACKCOLOR=RGB(229 239 240),
HOVER-BACKCOLOR=RGB(242 247 247),
BORDER-COLOR=RGB(169 169 169),
$

TYPE=DATA, COLOR=RED, WHEN=DEL_FLG NE 0, $

TYPE=DATA, COLUMN=ID_CPPIBPRTY(2),



Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
September 12, 2014, 02:31 PM
A Fisher
I will review both of these ideas and take them back to the original requester.

Both appear to be useful alternatives to freezing the headers.

Thank you both for your help.

And Francis, it's unfortunate that you have to put that line in your signature. It seems like that's why people would come here to a FORUM, to get others' opinions. I'm sure (obviously) some people don't feel that way.


WebFOCUS 8.2.0.1 / App Studio 8.2.0.1 (04092014) / Windows 7 / HTML5, PDF, XLS