Focal Point
[CLOSED] column freeze

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

January 04, 2012, 11:40 AM
JOE
[CLOSED] column freeze
Is it possible to add column freeze without using active reports?

Thanks!

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


WebFocus 7.7.02 WinXP
January 04, 2012, 03:41 PM
Waz
Have a look for HFREEZE.


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!

January 04, 2012, 04:12 PM
JOE
Thanks, but HFREEZE only freezes Headers and Footers. I'm looking for column freeze i.e..first three columns stay put and then the rest of the columns are scrollable. I know you can do this with active reporting.


WebFocus 7.7.02 WinXP
January 04, 2012, 04:15 PM
FrankDutch
the HFREEZE is available from version 7.7 ?




Frank

prod: WF 7.6.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

January 04, 2012, 04:28 PM
Waz
Oops, a senior moment.

I'm sure there was a similar post in the last six months related to column freezing.

By the way, I think HFREEZE became available in 7.6.5


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!

January 05, 2012, 10:10 AM
Edwin
Like Waz mentions, a lot of techniques were posted in this subject. If you don't find any, this will help you.

TABLE FILE CAR
PRINT
CAR MODEL BODYTYPE SEATS DEALER_COST RETAIL_COST SALES LENGTH WIDTH HEIGHT WEIGHT WHEELBASE FUEL_CAP BHP RPM MPG ACCEL
BY COUNTRY
ON TABLE SET PAGE NOLEAD
ON TABLE NOTOTAL
ON TABLE HOLD AS RPT1 FORMAT HTML
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN, SQUEEZE=OFF, GRID=ON, $
TYPE=REPORT, CSSURL=/APPROOT/CSS/LOCKCOL.css, FONT='ARIAL', SIZE=8, $
TYPE=TITLE, COLUMN=N1, CLASS=LOCKED, $
TYPE=DATA, COLUMN=N1, CLASS=LOCKED, $
TYPE=DATA, BORDER=LIGHT, BORDER-COLOR=RGB(172 168 153), $
ENDSTYLE
END
-HTMLFORM BEGIN


!IBI.FIL.RPT1;


-HTMLFORM END

create a css folder and create the css file below:

/* lockcol.css */

div#tbl-container {
width: expression(document.body.clientWidth-20);
height: expression(document.body.clientHeight-30);
overflow: auto;
}

.locked {
left: expression(document.getElementById("tbl-container").scrollLeft);
font-weight: bold;
position: relative;
style: normal;
background-color: white;
border-top:solid;
border-left:solid;
border-width:1px;
font-family : Arial;
font-size : 8pt;
border-color : RGB(172 168 153);
padding-top: 1px;
padding-bottom: 1px;
z-index: 10;
}

This message has been edited. Last edited by: Edwin,
January 05, 2012, 11:26 AM
JOE
Thanks, I'll give this a try..I really searched the forum for awhile before I posted about column freeze..every topic that came up was hfreeze..which is as we know only for headers and footers..btw the hfreeze code does not mesh well with firefox? Only works clean with IE. Is there a patch out there that corrects this issue? Thanks

Joe


WebFocus 7.7.02 WinXP
January 05, 2012, 06:04 PM
Doug
We used to be able to do that on the Green Screens back in the Main Frame days...
January 05, 2012, 06:14 PM
Waz
Doug, you're showing your age.

The old 3270 terminals were so much easier that all this new stuff.


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!

January 06, 2012, 04:24 AM
linnex
Hi everybody,
hi Edwin,

it seems that your solution to the Freeze problem is based on "CSS expressions" in IE. (e.g. width: expression....). Please keep in mind, that "CSS expressions" are abandoned with IE8 and higher versions and will only work in IE7 compatibility mode. All other browsers like Firefox etc. will not support CSS expressions as they are not in the CSS standard.

Regards
Linne


WebFOCUS 7.7.03
January 06, 2012, 09:07 AM
Doug
quote:
you're showing your age
But, young at heart... And, Still Going Strong... Those Were The Days My Friend, I Thought They'd Never End...
January 08, 2012, 03:58 PM
Waz
I hear you Doug, 28 years doing FOCUS, and learning new things every day.

Helps fend of dementia.


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!