IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Fixing The Column Header In Reports.
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
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
 
Posts: 20 | Registered: February 22, 2007Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
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.




Frank

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

 
Posts: 1644 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
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
 
Posts: 20 | Registered: February 22, 2007Reply With QuoteEdit or Delete MessageReport This Post
Expert
Posted Hide Post
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.




DevStu 767; wintell 767; Unix 765,Oracle: /// iplanet; Dev 765 tomcat 6;///MRE/BID/PMF
 
Posts: 2632 | Location: Manhattan | Registered: October 28, 2003Reply With QuoteEdit or Delete MessageReport This Post
Gold member
Posted Hide Post
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



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
 
Posts: 70 | Location: Boston/New England | Registered: February 12, 2006Reply With QuoteEdit or Delete MessageReport This Post
Gold member
Posted Hide Post
One more note: run the above code in a small window to see the scroll bars.

Greg



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
 
Posts: 70 | Location: Boston/New England | Registered: February 12, 2006Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
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. Smiler



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
 
Posts: 228 | Location: Wichita, KS | Registered: May 27, 2005Reply With QuoteEdit or Delete MessageReport This Post
Virtuoso
Posted Hide Post
Trav

what time?
if it's not on sunday I'll be there




Frank

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

 
Posts: 1644 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Platinum Member
Posted Hide Post
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
 
Posts: 228 | Location: Wichita, KS | Registered: May 27, 2005Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  FOCUS/WebFOCUS    Fixing The Column Header In Reports.

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.