Focal Point
[SOLVED] Freezing iFrames

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

April 08, 2013, 03:14 PM
Doug
[SOLVED] Freezing iFrames
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...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
April 08, 2013, 03:49 PM
Doug
There you go again, pointing me back to one of my own posts (only a year old)... Unfortunately, that doesn't do it here, the ACROSS gets in the way...

Here's a link to the htm referred to in the original post.
April 08, 2013, 06:21 PM
Alan B
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
Smiler 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...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
April 09, 2013, 09:54 AM
Doug
Cool Thanks Francis...

Cool 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...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
April 09, 2013, 09:56 AM
Doug
Maybe this could replace the accordian...
April 09, 2013, 09:58 AM
Tom Flynn
NOPE! Not a chance...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
April 09, 2013, 10:02 AM
Doug
LOL Maybe in just this instance, case-by-case basis? Nothing (?) could ever (?) replace Accordian...
April 09, 2013, 10:21 AM
Tom Flynn
Nope...
Here is an example with mostly all CSS and some JavaScript, for the button, from the web...
Of course, hard-coded data...


Tom Flynn
WebFOCUS 8.1.05 - PROD/QA
DB2 - AS400 - Mainframe
April 10, 2013, 01:06 PM
Doug
Thanks Tom. That is so cool. I'll consider that one when this outlives its usfullness...