Jump to content

An Active Report with the FREEZE-COLUMN StyleSheet command m...


David Briars

Recommended Posts

An Active Report with the FREEZE-COLUMN StyleSheet command misaligns row display beginning with the first column that isnt frozen, that is the column where the horizontal scrollbar starts.

I was able to repro with a TIBCO/ibi sample file:

APP PREPENDPATH IBISAMP

-RUN

DEFINE FILE GGSALES

CATEGORY/A100 = 'THIS IS A LONG LINE I HOPE IT WORKS!';

END

TABLE FILE GGSALES

"Test Report"

"&TOD"

PRINT SEQ_NO CATEGORY PCD PRODUCT REGION ST CITY STCD DATE UNITS DOLLARS BUDUNITS BUDDOLLARS

ON TABLE HOLD AS HLDMATR FORMAT AHTMLTAB

ON TABLE SET NODATA ' '

ON TABLE SET HTMLCSS ON

ON TABLE SET LINES 7

ON TABLE SET PAGE NOPAGE

ON TABLE SET STYLE *

TYPE=REPORT,GRID=OFF,FONT='Calibri',SIZE=9,COLOR=RGB(50 50 50),$

TYPE=REPORT, FREEZE-COLUMN=ST, $

TYPE=HEADING,

SIZE=11,

JUSTIFY=LEFT, FONT='Calibri',

BACKCOLOR=RGB(16 29 73),

COLOR=RGB(255 255 255),

STYLE=BOLD, $

TYPE=TITLE,

BACKCOLOR=RGB(75 125 118),

COLOR=RGB(255 255 255),

SIZE=9,

STYLE=-UNDERLINE,$

ENDSTYLE

END

-RUN

-HTMLFORM BEGIN

<!DOCTYPE html>

<HTML>

<HEAD>

<TITLE>Test Report</TITLE>

</HEAD>

<BODY>

!IBI.OBJ.ACTIVEREPORTJS;

!IBI.FIL.HLDMATR;

</BODY>

</HTML>

-HTMLFORM END

 

I realize the misalignment might look slight in screenprint below of running the code above. In our real case the misalignment can be much larger, perhaps because of having more rows and columns than the sample case.

 

image.png863242 20.9 KB

 

Also, note the rogue white space between the heading and column titles, only on the left hand side (side without the horizontal scrollbar.)

Hampering our efforts to remediate, is that the issue does not occur every time the report runs.

We are seeing this issue in Edge 92.0.

Ive used Edge Developer Tools to poke around the DOM of the Active Report, but couldnt readily see what is causing the issue, nor what additional CSS could possibly remediate.

Link to comment
Share on other sites

  • 2 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...