Focal Point
[CLOSED] how to color your grid in html format report.

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

November 11, 2010, 04:52 PM
Tomsweb
[CLOSED] how to color your grid in html format report.
I coded this nice sample report with colored columns and sweet silver backcolor for the titles...
Can anyone help me get the grid to be colored too? Like gray borders?

quote:

TABLE FILE CAR
PRINT CAR
MODEL
BY COUNTRY
HEADING
"Sales Report for England"
" "
" "
ON TABLE SET PAGE-NUM OFF
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET STYLESHEET *
TYPE=REPORT,
GRID=ON,
$
TYPE=HEADING,
JUSTIFY=CENTER,
STYLE=BOLD,
$
TYPE=HEADING,
LINE=1,
OBJECT=TEXT,
FONT=ARIAL,
SIZE=11,
COLOR=RED,
$
TYPE=TITLE,
COLOR=BLACK,
STYLE=NORMAL,
BACKCOLOR='SILVER',
$
TYPE=DATA,
COLUMN=1,
FONT=ARIAL,
SIZE=10,
COLOR=BROWN,
$
TYPE=DATA,
COLUMN=2,
FONT=ARIAL,
SIZE=10,
COLOR=PURPLE,
$
TYPE=DATA,
COLUMN=3,
FONT=ARIAL,
SIZE=10,
COLOR=BLUE,
$
ENDSTYLE
END
-RUN

-EXIT


Thanks! Roll Eyes

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


Tomsweb
WebFOCUS 8.1.05M, 8.2.x
APP Studio, Developer Studio, InfoAssist, Dashboards, charts & reports
Apache Tomcat/8.0.36
November 11, 2010, 05:24 PM
Prarie
TYPE=REPORT,
BORDER-TOP=MEDIUM,
BORDER-BOTTOM=MEDIUM,
BORDER-LEFT=MEDIUM,
BORDER-RIGHT=MEDIUM,
BORDER-TOP-COLOR='SILVER',
BORDER-BOTTOM-COLOR='SILVER',
BORDER-LEFT-COLOR='SILVER',
BORDER-RIGHT-COLOR='SILVER',
November 12, 2010, 12:04 PM
M Meagher
I don't get colored borders when I add Prairie's code to the original code. Does it work for other folks?
November 12, 2010, 12:30 PM
Tony A
Add ON TABLE SET HTMLCSS ON which should help.

T



In FOCUS
since 1986
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2  
WebFOCUS App Studio 8.2.06 standalone on Windows 10