Focal Point
SIMPLE HTML Report GRID question

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

November 16, 2006, 10:45 AM
Francis Mariani
SIMPLE HTML Report GRID question
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
November 16, 2006, 11:18 AM
susannah
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
November 16, 2006, 11:32 AM
Francis Mariani
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
November 16, 2006, 02:27 PM
susannah
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
November 16, 2006, 02:54 PM
Francis Mariani
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
November 16, 2006, 02:57 PM
tglaser
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
November 16, 2006, 03:45 PM
Francis Mariani
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
November 16, 2006, 04:23 PM
susannah
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
November 16, 2006, 04:58 PM
tglaser
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