Skip to main content



      Home
Home » Archived » BIRT » Cell colspan change affecting other adjoining cell formatting
Cell colspan change affecting other adjoining cell formatting [message #1622298] Wed, 18 February 2015 06:51 Go to next message
Eclipse UserFriend
Hi ,

I have a Table with Groups in it. There are Group Headers as well as Footers present in the Table.

Requirement: Footer consists of Summations with the 1st cell of Footer having a Text field while the summations appear in the subsequent columns. Dynamically set the colSpan of this 1st cell to span till the 1st summable column encountered.

Issue: The dynamic colSpan is working properly, however the row above (i.e. Detail row) has a Dotted bottom border which has normal weight and is stretched end to end. When the summation column text is dynamically spanned across till the 1st summable column, it affects the dotted line above it, causing the Bold property of the Summation text to be applied on the part of Dotted line which is just above it. The Dotted line is visibly bolder only till the 1st summable column and is normal thereafter, hence confirming our doubts on its cause.
Attached reference image, Red is the anamoly while Green is expected normal weight line -->index.php/fa/20896/0/
  • Attachment: Untitled.png
    (Size: 62.12KB, Downloaded 575 times)
Re: Cell colspan change affecting other adjoining cell formatting [message #1622884 is a reply to message #1622298] Wed, 18 February 2015 15:23 Go to previous messageGo to next message
Eclipse UserFriend
Could you attach a sample design that I can run (classic models sample database or a flat file or something) that shows the issue? Thanks.
Re: Cell colspan change affecting other adjoining cell formatting [message #1623548 is a reply to message #1622884] Thu, 19 February 2015 01:46 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michael,
Thanks for the reply,

It will be tough to replicate the issue in a demo rptdesign since we have a framework built around birt which caters to our project. Will try and reproduce it nonetheless.
Re: Cell colspan change affecting other adjoining cell formatting [message #1623902 is a reply to message #1622884] Thu, 19 February 2015 07:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Michael,

Please find attached, a sample rptdesign and mock excel data which is used to run the report. I have made the dotted line weight as thick so that the effect seems prominant and noticable.

Steps to reproduce:

1. Place rptdesign and xlsx in same directory
2. Open rptdesign in report viewer [ Eclipse ]
3. Run tab > View Report > As PDF
Re: Cell colspan change affecting other adjoining cell formatting [message #1623923 is a reply to message #1623902] Thu, 19 February 2015 07:21 Go to previous messageGo to next message
Eclipse UserFriend
Note: I tried some scenarios and irrespective of the Subtotal text being bold or not, the issue still persists. So the Bold property of the Subtotal text in footer row is not causing the issue, but something else instead.

[Updated on: Thu, 19 February 2015 07:21] by Moderator

Re: Cell colspan change affecting other adjoining cell formatting [message #1624463 is a reply to message #1623923] Thu, 19 February 2015 15:21 Go to previous messageGo to next message
Eclipse UserFriend
This appears to be a bug. Please log a bug for this in the bugzilla. You'll find a link to the bugzilla in the community section of eclipse.org/birt.

A workaround in the time being would be to add another group footer row above the one with the colSpan script and set its height to 0.01in.
Re: Cell colspan change affecting other adjoining cell formatting [message #1625129 is a reply to message #1624463] Fri, 20 February 2015 01:50 Go to previous messageGo to next message
Eclipse UserFriend
Thanks, will log in the bug and meanwhile try the workaround you have suggested Smile
Re: Cell colspan change affecting other adjoining cell formatting [message #1625673 is a reply to message #1625129] Fri, 20 February 2015 10:03 Go to previous message
Eclipse UserFriend
Sounds good. Just let me know if it doesn't work for you.
Previous Topic:createFactoryObject returns null after upgrade of BIRT
Next Topic:Displaying Query Text in BIRT Report
Goto Forum:
  


Current Time: Thu Apr 24 05:27:05 EDT 2025

Powered by FUDForum. Page generated in 0.02318 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top