how can i fixing the column c2 width ? i use warp=2 , it's not good,
because the uppercase XXX width is different with lowercase Xxx , so if i have 30 pages with one report , the report width is changed when i click next page ....
so how to fixing the column=n2 width ?
Thanks, James YangThis message has been edited. Last edited by: Kerry,
WebFOCUS 7.6.8 WebFOCUS 7.6.10 BI FLEX .NET
May 22, 2010, 10:50 AM
njsden
quote:
i use warp=2 , it's not good
Well, warp is not a recognised style sheet declaration so it won't achieve the results you expect. You can use WRAP=n to set a column's width to any value you need as shown below:
TABLE FILE CAR
PRINT CAR
MODEL
BY COUNTRY
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
UNITS=IN, $
TYPE=REPORT, COLUMN=N1, WRAP=3, $
ENDSTYLE
END
I don't have a WF environment to test it but it should give you an idea.
the report width is changed when i click next page
If what you want is for the report width to remain "fixed" you might need to get rid of the automatic wrapping that occurs naturally in HTML and set each column's width explicitly.
TABLE FILE ..
ON TABLE SET STYLE *
TYPE=REPORT, WRAP=OFF, $
TYPE=REPORT, COLUMN=N1, WRAP=3, $
TYPE=REPORT, COLUMN=N2, WRAP=2, $
...
ENDSTYLE
END
You can also research and play with the SQUEEZE=n style sheet declaration to try out different alternatives.