Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Fixing The Column Header In Reports.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Fixing The Column Header In Reports.
 Login/Join
 
<hellonitiv>
posted
Do we have any facility in WebFocus using which we can fix the Column Header and making only the data part Scrollable.
 
Report 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.10 platform Windows,
databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7
test: WF 7.6.10 on the same platform and databases,IE7

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report This Post
<hellonitiv>
posted
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.
 
Report 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.




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report This Post
Guru
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 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Guru
posted Hide Post
One more note: run the above code in a small window to see the scroll bars.

Greg



Greg



current client: WF 8.1.05 & 8.2 - Windows 7 64bit - Tomcat 7 - MRE / BID - IE11

local: WF 8.2 - Windows 7 64bit - Tomcat 6 - MRE / BID - FOCUS - IE11

PMF 8
 
Posts: 274 | Location: Boston/New England | Registered: February 12, 2006Report This Post
Platinum Member
posted Hide Post
Here's my post on the topic:
https://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: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
Virtuoso
posted Hide Post
Trav

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




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

 
Posts: 2387 | Location: Amsterdam, the Netherlands | Registered: December 03, 2006Report 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: 230 | Location: Wichita, KS | Registered: May 27, 2005Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Fixing The Column Header In Reports.

Copyright © 1996-2020 Information Builders