Focal Point
[SOLVED] Report with 100% WIDTH

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

April 08, 2020, 11:54 AM
WebFOCUS_Dev
[SOLVED] Report with 100% WIDTH
Hello

I have a request to add a 1 line report to a HTML page with width 100%. I set up an iframe with 100% width and linked following report to it.
But I could not get 100% width. Can someone correct me?
TABLE FILE CAR
BY COUNTRY NOPRINT
WHERE RECORDLIMIT EQ 1;
HEADING
"TEST WIDTH 100%"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE HOLD AS H1 FORMAT HTMTABLE
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, BORDER=OFF, JUSTIFY=CENTER, $
TYPE=HEADING, JUSTIFY=CENTER, COLOR=WHITE, SIZE=14, BACKCOLOR=RGB(27 123 33), $
END
-RUN
-HTMLFORM BEGIN
<html>
<head></head>
<body>
<table style="width:100%"><tr><td> !IBI.FIL.H1; </td></tr></table>
</body>
</html>
-HTMLFORM END

Thank you..

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


WebFOCUS 8206
All formats
April 08, 2020, 02:57 PM
David Briars
Try to SET AUTOFIT to ON.

TABLE FILE CAR
BY COUNTRY NOPRINT
WHERE RECORDLIMIT EQ 1;
HEADING
"TEST WIDTH 100%"
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE HOLD AS H1 FORMAT HTMTABLE
ON TABLE SET AUTOFIT ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
TYPE=REPORT, BORDER=OFF, JUSTIFY=CENTER, $
TYPE=HEADING, JUSTIFY=CENTER, COLOR=WHITE, SIZE=14, BACKCOLOR=RGB(27 123 33), $
END
-RUN
-HTMLFORM BEGIN
<html>
<head></head>
<body>
<table style="width:100%"><tr><td> !IBI.FIL.H1; </td></tr></table>
</body>
</html>
-HTMLFORM END  






Pilot: WebFOCUS 8.2.06 Test: WebFOCUS 8.1.05M Prod: WebFOCUS 8.1.05M Server: Windows Server 2016/Tomcat Standalone Workstation: Windows 10/IE11+Edge Database: Oracle 12c, Netezza, & MS SQL Server 2019 Output: AHTML/XLSX/HTML/PDF/JSCHART Tools: WFDS, Repository Content, BI Portal Designer & ReportCaster
April 08, 2020, 04:54 PM
Doug
That, setting AUTOFIT to ON, sure be available directly within InfoAssist. I've done that in the past.
April 09, 2020, 07:31 AM
atul
i guess autofit will work in this


atul