|
Go
![]() |
New
![]() |
Search
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Member |
Do we have any facility in WebFocus using which we can fix the Column Header and making only the data part Scrollable.
Prod - Webfocus 7.1.3 on AIX |
||
|
|
Virtuoso |
that's not so easy.
You need to work with a frame. Build a html page with the headers as flat text and in the frame you get the data. The disadvantage is that the text in the headers is not dynamic (period, year, country) and the width of the columns is even less easy to handle.
|
|||||||
|
|
Member |
Yes i know that approach.
But again the issue as rightly pointed by you is related to Static HTM frame and dynamic data column width. But is there any way left to handle the same in Webfocus itself. Prod - Webfocus 7.1.3 on AIX |
|||
|
|
Expert |
http://web.tampabay.rr.com/bmerkey/
Its all css, doesn't need to be frames (although frames is certainly one way), this site will show you how. fellow Pointer "Trav" showed us all this site.
|
|||||
|
|
Gold member |
Here's what I did using the good stuff from the site susannah gave:
freeze_heading2.css div#tbl-container { //width: 96%; width: expression(document.body.clientWidth-30); //height: expression(document.body.clientHeight-200); //height: expression(document.documentElement.clientHeight); //height: expression(window.innerHeight); //height: expression(document.body.clientHeight-30); /*500px;*/ overflow: auto; } table { border-collapse: collapse; background-color: white; z-index:1 } td { border-left: 1px solid black; //border-top: 1px solid black; border-top: 1px solid RGB(238 238 238); padding-right: 1px; } td.column_title { position:relative; top: expression(document.getElementById("tbl-container").scrollTop-1); /* IE5+ only */ background-color: white; color: RGB(102 102 102); border: none; border-top: 3px solid RGB(238 238 238); border-bottom: 1px solid RGB(238 238 238); border-left: 1px solid RGB(238 238 238); padding-top: 2px; padding-right: 3px; padding-left: 3px; text-align: center; font-weight: bold; z-index: 20; } TABLE FILE CAR PRINT DCOST RCOST SALES BY COUNTRY BY MODEL BY CAR ON TABLE SET PAGE NOLEAD ON TABLE SET LINES 99999 ON TABLE SET PAGE NOLEAD ON TABLE SET PAGE-NUM OFF ON TABLE NOTOTAL ON TABLE HOLD AS REPORT FORMAT HTML ON TABLE SET HTMLCSS ON ON TABLE SET CSSURL 'c:\freeze_heading2.css' ON TABLE SET STYLE * UNITS=PTS, LEFTMARGIN=0, RIGHTMARGIN=0, TOPMARGIN=0, BOTTOMMARGIN=0, SQUEEZE=OFF, ORIENTATION=LANDSCAPE, $ TYPE=REPORT, GRID=ON, FONT='ARIAL', SIZE=8, COLOR='BLACK', BACKCOLOR='WHITE', STYLE=NORMAL, RIGHTGAP=2, TOPGAP=1, BOTTOMGAP=1, $ TYPE=TITLE, SIZE=10, STYLE=-UNDERLINE, CLASS=column_title, $ ENDSTYLE END -HTMLFORM BEGIN !IBI.FIL.REPORT; -HTMLFORM END -RUN I hope this helps. Greg current client: WF 7.1.7 - Unix/Solaris - Tomcat 5.5 - MRE / BID - Oracle - IE7 local: WF 7.1.7, WF 7.6.1 - Windows XP SP2 - Tomcat 5.5 - MRE / BID - FOCUS - IE6 |
|||
|
|
Gold member |
One more note: run the above code in a small window to see the scroll bars.
Greg current client: WF 7.1.7 - Unix/Solaris - Tomcat 5.5 - MRE / BID - Oracle - IE7 local: WF 7.1.7, WF 7.6.1 - Windows XP SP2 - Tomcat 5.5 - MRE / BID - FOCUS - IE6 |
|||
|
|
Platinum Member |
Here's my post on the topic:
http://forums.informationbuilders.com/eve/forums?s=1651...1026261&f=7971057331 Also, I'm presenting this as a session at Summit so you can come to that too. Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio Testing: <none> Using MRE & BID.  Connected to MS SQL Server 2005 Output Types: HTML, Excel, PDF |
|||
|
|
Virtuoso |
Trav
what time? if it's not on sunday I'll be there
|
|||||||
|
|
Platinum Member |
Wednesday from 8:30-9:30. It's in the WebFOCUS track.
Production: 7.6.6 WF Server  <=>  7.6.6 WF Client  <=>  7.6.6 Dev Studio Testing: <none> Using MRE & BID.  Connected to MS SQL Server 2005 Output Types: HTML, Excel, PDF |
|||
|
| Previous Topic | Next Topic | powered by eve community |
| Please Wait. Your request is being processed... |
|

