Figure 1 shows the results of the following code being placed in a 140 x 104 iFrame. I want to freeze the first, left most, column when I scroll to the right. It seems to be an issue with the standard " TYPE=REPORT, FREEZE-COLUMN=N1,$ " code. The following cities are still out there, to the right of New York: Orlando, San Francisco, Seattle, and St. Louis.
So, what's the catch here?
Figure 1:
Here's the code:
SET PAGE = NOLEAD
TABLE FILE GGSALES
SUM DOLLARS/D12.2C OVER BUDDOLLARS/D12.2C OVER UNITS/D12.2C OVER BUDUNITS/D12.2C ACROSS CITY AS ''
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
JUSTIFY=RIGHT, BORDER=1, SQUEEZE=OFF, WRAP=1.2, FONT=ARIAL, SIZE=9,$
ENDSTYLE
END
This message has been edited. Last edited by: Doug,
In FOCUS Since 1983 ~ from FOCUS to WebFOCUS. Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
April 08, 2013, 03:35 PM
Tom Flynn
Hi Doug, This may help... Not seen FREEZE-COLUMN...
There is a (sort of) technique on the tech support site here.
Alan. WF 7.705/8.007
April 09, 2013, 09:20 AM
Doug
Thanks for pointing that out to US Alan... I was able to apply that to my application, here's the sample outputs:
April 09, 2013, 09:30 AM
Francis Mariani
Good work! I'd like to try this on an accordion report - it would be nice to freeze the first column and also the column titles...
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
April 09, 2013, 09:53 AM
Tom Flynn
Hi Doug, Well, you really ceated 2 reports into 2 different frames, which, is a simple workaround, I guess... Won't work for Francis's idea. The real solution is with CSS and JavaScript, my opinion. Not tried it, though...
You are so right Tom. But, this is CSS and JavaScript independent which, as part of my unmentioned requirement. That is, Out Of The Box for easy support and maintenance. the keyword here, as you said, is "workaround". But, It looks and works fine.
Let me know if you want the code.
April 09, 2013, 09:55 AM
Francis Mariani
Yes Tom, this won't work for my accordion report. It's too bad the several JavaScript-based WebFOCUS styles (HFREEZE, EXPANDABLE, FREEZE-COLUMN) don't work together.
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
April 09, 2013, 09:55 AM
Tom Flynn
Already got it, THANKS! No, I like the workaround, from a simplicity standpoint. Clever! AND, totally agree with Francis! Probably because IBI is going down the GUI road...