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     SIMPLE HTML Report GRID question

Read-Only Read-Only Topic
Go
Search
Notify
Tools
SIMPLE HTML Report GRID question
 Login/Join
 
Expert
posted
According to the manual
quote:
Grids: In an HTML report, you can use the GRID attribute in a StyleSheet to turn grid lines on and off for the entire report. When used in conjunction with internal Cascading StyleSheets, GRID produces a thin grid line rather than a thick double line (the HTML default). In PDF reports you can use the HGRID and VGRID attributes to add horizontal or vertical grid lines and adjust their density.
So I thought this code should provide me with "a thin grid line rather than a thick double line", it does not:
TABLE FILE CAR
SUM
SALES
BY COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=ON, FONT='ARIAL', SIZE=8, $
ENDSTYLE
END


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
F, this is T's trick
in the -HTMLFORM
<style>
TABLE {border-collapse:collapse}
</STYLE>
</head>
<body>
!IBI.FIL.name;

works like a charm and you don't need to turn htmlcss on. dont you wish that ugly double GRID would go away?

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




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
Expert
posted Hide Post
Susannah,

I knew that - Pietro Smiler told me all about the border-collapse CSS tag.

I'd like to know what the manual meant about internal Cascading StyleSheets being able to to the same.

Cheers,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
omg...sorry....i attributed it incorrectly to T, when it was Pietro. vraiment desolee

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




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
Expert
posted Hide Post
Hey, we may all have come up with it at the same time.

No takers? Anyone using "Internal Cascading Stylesheets"?


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Member
posted Hide Post
Can't speak to the help file, but this code does what I think you may be looking for. Grid sets the Grid on or off, border sets the width.

TABLE FILE CAR
SUM
SALES
BY COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLESHEET *
TYPE=REPORT, GRID=ON, BORDER=1,FONT='ARIAL', SIZE=8, $
ENDSTYLE
END


WebFocus 7.1.4 Win2K Client

WebFocus 7.1.6 Server
 
Posts: 22 | Location: san antonio texas | Registered: January 11, 2005Report This Post
Expert
posted Hide Post
Terry, thank you!

The documentation certainly didn't suggest this.

Cheers,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
I recall seeing a BORDER=LIGHT and BORDER=HEAVY
They both work in Terry's example, as well




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
Member
posted Hide Post
LIGHT and HEAVY are english representations of numeric values, yes. The numbers give you better control. You can use the BORDER attribute to set width, BORDER-COLOR to set color, and BORDER-STYLE to set styles such as DOTTED, GROOVE, and others. You'll have to use a report output drop-down in Layout Painter to see the available border styles, I can't find them documented anywhere.

Glad to help.


WebFocus 7.1.4 Win2K Client

WebFocus 7.1.6 Server
 
Posts: 22 | Location: san antonio texas | Registered: January 11, 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     SIMPLE HTML Report GRID question

Copyright © 1996-2020 Information Builders