Focal Point
[CLOSED] Wrapping column with HTML not working

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

August 06, 2018, 01:44 PM
matthew_hinext
[CLOSED] Wrapping column with HTML not working
Hi all,

I'm finding that I am unable to get a column to change sizes in an HTML report by using both the WRAP and WIDTH commands in the stylesheet. Matching the width of the column title. I've searched for this issue on the forums, but I can only find instances of people having issues with AHTML report, whereas mine is simply HTML.

Most of the syntax examples I've found for solved threads seem to be exactly what I'm doing and I've been able to successfully wrap columns of other reports using this same syntax. I've tried switching WRAP to WIDTH, tried removing the COLUMN line, and tried removing the included stylesheet but everything I've tried is not altering the style of the column. If I add BACKCOLOR='WHITE', then that changes the column background color, so it seems as if it's specifically column width that's not working.
Please see the code below and let me know if I'm overlooking something, any help would be appreciated!

ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/WFC/Repository/Common/Hidden_Content/stylesheets/treat-warm.sty,
$
ORIENTATION=LANDSCAPE,
$
TYPE=DATA,
FONT='VERDANA',
SIZE=8,
BACKCOLOR=( 'WHITE' RGB(218 223 232) ),
$
TYPE=TITLE,
SIZE=8,
$
TYPE=REPORT
COLUMN=N22,
WRAP=6.0,
$
ENDSTYLE
END


Thanks,
Matthew

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8
Windows, All Outputs
August 06, 2018, 02:05 PM
Doug
Please port a sample showing how this does not work.

And consider the following showing that it does work:
TABLE FILE CAR
PRINT COUNTRY COUNTRY COUNTRY
      CAR     CAR     CAR
      MODEL   MODEL   MODEL
ON TABLE SET PAGE-NUM NOLEAD
ON TABLE SET ASNAMES ON
ON TABLE NOTOTAL
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET HTMLEMBEDIMG ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
INCLUDE = IBFS:/EDA/EDASERVE/_EDAHOME/ETC/warm.sty,$
TYPE=REPORT, COLUMN=N1, WRAP=0.2,$
TYPE=REPORT, COLUMN=N2, WRAP=1.0,$
TYPE=REPORT, COLUMN=N3, WRAP=2.5,$
TYPE=REPORT, COLUMN=N4, WRAP=0.2,$
TYPE=REPORT, COLUMN=N5, WRAP=1.0,$
TYPE=REPORT, COLUMN=N6, WRAP=2.5,$
TYPE=REPORT, COLUMN=N7, WRAP=0.2,$
TYPE=REPORT, COLUMN=N8, WRAP=1.0,$
TYPE=REPORT, COLUMN=N9, WRAP=2.5,$
ENDSTYLE
END





   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
August 06, 2018, 02:22 PM
matthew_hinext
Thanks Doug. Not sure what you mean specifically by "port a sample", do you need a screenshot of the output?


WebFOCUS 8
Windows, All Outputs
August 06, 2018, 03:41 PM
BabakNYC
I think he meant POST a sample.


WebFOCUS 8206, Unix, Windows