Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Styling Column Titles - Active Report With Across.

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED] Styling Column Titles - Active Report With Across.
 Login/Join
 
Master
posted
TABLE FILE CAR
SUM SALES AS 'Amount'
BY COUNTRY
BY CAR
ACROSS BODYTYPE
ON TABLE PCHOLD FORMAT AHTML
ON TABLE SET STYLE *
 TYPE=ACROSSTITLE, SIZE=16, COLOR=RED, BACKCOLOR=GREEN, FONT='Arial', JUSTIFY='CENTER', $
 TYPE=ACROSSVALUE, SIZE=16, COLOR=RED, BACKCOLOR=GREEN, FONT='Arial', JUSTIFY='CENTER', $
 TYPE=TITLE,       SIZE=16, COLOR=RED, BACKCOLOR=GREEN, FONT='Arial', JUSTIFY='CENTER', $ 
ENDSTYLE
END  

My requirement is for the 'column headings' of the SALES columns to be Arial, centered, and a font size of 16.

When I run the above code, the 5 instances of 'Amount' seem to be 'Courier', left justified, and a very small font size.

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




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
 
Posts: 822 | Registered: April 23, 2003Report This Post
Expert
posted Hide Post
This appears to be an age-old problem:
Active Reports Across Title Styling


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
Upon inspection of the resulting HTML I discovered the across value titles are contained within tt tags - why on earth would Teletype Text Element be used? Unless someone else has a smarter solution, a workaround might be to include some CSS to alter the default style of tt or one of its parent elements.

<table style="color:#FF0000;background-color:#FFFF00;" cellpadding="0" cellspacing="0" border="0" width="100%">
    <tbody>
        <tr valign="bottom">
            <td class="undefined" onmouseover="setCurCell(0,'TCOL_0_C_2')" align="undefined" style="width:undefinedpx;" id="TCOL_0_C_2">
                <tt>Amount</tt></td>
            <td>&nbsp;</td>
            <td height="20" width="20" style="white-space:nowrap" align="left" valign="bottom">
        <div id="popid0_2">
        <div onclick="ibiMenu.Showmenu(event,0,'2','popid0_2',true,1);" class="null" style="width:15px;cursor:pointer;">
        <div style="border:none;width:16px;height:16px;font-size:0px;">
        [IMG]data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA2ZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3Nyw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x0Q78ajhoEFTwy9B+JOID6LLxoZCSRlQahBZBswEvICQIABADagFmfUTQn/AAAAAElFTkSuQmCC[/IMG]</div></div></div></td></tr></tbody></table>


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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Expert
posted Hide Post
A bit of CSS gets you a little further, though centre alignment won't work.

-RUN

-HTMLFORM BEGIN
<style>
tt { font-size: 18pt; font-family: 'Arial', text-align: center; }
</style>
-HTMLFORM 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
 
Posts: 10577 | Location: Toronto, Ontario, Canada | Registered: April 27, 2005Report This Post
Master
posted Hide Post
Thank you for the 'Active Reports Across Title Styling' thread link, Francis.

The OP does a nice job a describing the scenario.

This workaround from that thread will work for me:
quote:
Try this to get rid of the column names:
SUM
'CAR.BODY.SALES' AS '&|nbsp;'
 
Posts: 822 | Registered: April 23, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Styling Column Titles - Active Report With Across.

Copyright © 1996-2020 Information Builders