Focal Point
[CLOSED] Heading size in AHTML

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

July 23, 2019, 11:59 AM
Matt Lewis
[CLOSED] Heading size in AHTML
We're currently in the process of upgrading from WebFocus 7.7.05 to 8.2.06. The table headers in our AHTML formatted reports are now being wrapped in a div with a fixed width. So, the html looks something like this:

- table id="ITableData0"
 - tr
  - td colspan="4" align="CENTER"
   - div style="width:64px;"
    - span ....TABHEADING text is here
  


In 7.7, that div was there but it had no specified width so the text could stretch across the entire top. Now it's confined to a tiny box (the main table itself is 550px wide) which makes the text wrap, pushing the content down the page and generally just looks ridiculous. The TABHEADING is styled like this:

TYPE=TABHEADING,
     LINE=2,
     SIZE=11,
     JUSTIFY=CENTER,
$


In a different report, the main table is 1803px and the heading div is 86px. I don't see any obvious relation between the two widths. I've tried looking through the json files in srv82\home\etc\ar_v1 (found by searching for irpcfg.js based on what I found in the the 8.0.10 docs, though it now seems to be irpcfg.json in 8.2.06) there's no obvious corresponding style.

Does anyone know if there's a way to turn this off or at least specify some saner width?

This message has been edited. Last edited by: FP Mod Chuck,
July 23, 2019, 02:57 PM
MartinY
IMHO, since 8206 is pretty new you should open a case.


WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF
In Focus since 2007
July 24, 2019, 11:51 AM
RyanIPG13
Have you tried setting AUTOFIT off on the table or SQUEEZE OFF on the report?

Either of those can cause things to force a set width on the table to the largest contents, if they are off you should not have that problem.


Production: WebFOCUS 8.202M
QA: WebFOCUS 8.206.01
Windows/SQL
July 24, 2019, 01:48 PM
Matt Lewis
Neither AUTOFIT nor SQUEEZE settings seem to have an effect.
July 30, 2019, 06:46 PM
Hallway
quote:
TYPE=TABHEADING,
LINE=2,
SIZE=11,
JUSTIFY=CENTER,
$


Try removing the LINE=2 part of your style. That will only format the second line of your report heading (SUBHEAD)


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
July 31, 2019, 08:08 AM
Matt Lewis
quote:
Originally posted by Hallway:
Try removing the LINE=2 part of your style. That will only format the second line of your report heading (SUBHEAD)


The styling doesn't seem to matter as far as that div goes. It's there even if I remove all of the styling.
July 31, 2019, 11:05 AM
Tony A
quote:
IMHO, since 8206 is pretty new you should open a case.

As this is an upgrade issue (potentially) I agree with Martin, open a case with tech support.

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