Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 11:51 Go to next message
Ameya Advankar is currently offline Ameya AdvankarFriend
Messages: 5
Registered: February 2015
Junior Member
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 529 times)
Re: Cell colspan change affecting other adjoining cell formatting [message #1622884 is a reply to message #1622298] Wed, 18 February 2015 20:23 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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.

Michael

Developer Evangelist, Silanis
Re: Cell colspan change affecting other adjoining cell formatting [message #1623548 is a reply to message #1622884] Thu, 19 February 2015 06:46 Go to previous messageGo to next message
Ameya Advankar is currently offline Ameya AdvankarFriend
Messages: 5
Registered: February 2015
Junior Member
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 12:04 Go to previous messageGo to next message
Ameya Advankar is currently offline Ameya AdvankarFriend
Messages: 5
Registered: February 2015
Junior Member
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 12:21 Go to previous messageGo to next message
Ameya Advankar is currently offline Ameya AdvankarFriend
Messages: 5
Registered: February 2015
Junior Member
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 12:21]

Report message to a moderator

Re: Cell colspan change affecting other adjoining cell formatting [message #1624463 is a reply to message #1623923] Thu, 19 February 2015 20:21 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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.


Michael

Developer Evangelist, Silanis
Re: Cell colspan change affecting other adjoining cell formatting [message #1625129 is a reply to message #1624463] Fri, 20 February 2015 06:50 Go to previous messageGo to next message
Ameya Advankar is currently offline Ameya AdvankarFriend
Messages: 5
Registered: February 2015
Junior Member
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 15:03 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

Sounds good. Just let me know if it doesn't work for you.

Michael

Developer Evangelist, Silanis
Previous Topic:createFactoryObject returns null after upgrade of BIRT
Next Topic:Displaying Query Text in BIRT Report
Goto Forum:
  


Current Time: Fri Jul 19 20:35:53 GMT 2024

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

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

Back to the top