Focal Point
fix tablehead in long tables

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

January 09, 2004, 11:18 AM
Ernst
fix tablehead in long tables
i wonder if it is possible, but...

in excel you can fix the headers (columns you define...) and just the body of the table is scrollable..
it would be nice if i can do it the same way with html-forms in webfocus tables... maybe there is a option which someone knows?

if there is no chance with webfocus i'll try working with frames, but an webfocus solution would be interessting....

thank you for helping me Wink

greetz from snowy austria/europe
ernst
January 09, 2004, 04:25 PM
susannah
i'm interested in this same thing.
i've just read that in html there are <thead> and <tbody> tags that are supposed to make it possible to do exactly what you want.
THE guy at ibi (if you've been to Summit, you'll know) is ARt Greenhaus. He can probably figure out how to do this.

Or..you could set that report viewer option to ON
SET WEBVIEWER=ON
and that gives you page by page output with the header;thing is..its look is sort of institutional , but it might work for you.
January 13, 2004, 11:52 AM
Ernst
hi susannah,
your posting made my brain work Wink

...and here is what i found:
i created a holdfile called HOLDSOMETHING
of the table in my FEX and in the htm-file i put the following code

[code]......







NameCitySales1Sales2



!IBI.FIL.HOLDSOMETHING;

......the above TABLE is used as HEADER
and between the DIV-tags there goes the DATA from the table
of course you have to play with the widths and heights and second: don�t forget to blank out the title in the fex
[code]...
SUM
NAME AS ''
CITY AS ''
SALES1 AS ''
SALES2 AS ''
......for me it works ;-)

This message has been edited. Last edited by: <Mabel>,
January 13, 2004, 07:37 PM
susannah
wow! thanks; i didn't know about the style attr of overflow etc. thanks . i'll give it a try.
June 16, 2005, 12:48 PM
<bhoons>
Hi,
I tried too its working fine.But i have to apply a style for the column heading. how it is possible.

Thanks.
July 24, 2009, 07:54 AM
Tim Bayer
I know this is a very old post, but I'm trying to do exactly this. i want the headers to be locked so when someone scrolls the report the headers will stay with it. This thread may have been some help, but unless I'm missing something it looks like the key post from Ernst is missing some code that use to be there. any ideas?



------------------------------------
WebFOCUS Version 7.6.2
July 24, 2009, 08:00 AM
<JG>
The functionality is in 766 up its a stylesheet setting called HFREEZE