Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » How to merge measure (summary field) cells in crosstab in one row(colSpan property doesn't work)
How to merge measure (summary field) cells in crosstab in one row [message #1783085] Wed, 07 March 2018 14:13 Go to next message
Denis Shevchenko is currently offline Denis ShevchenkoFriend
Messages: 2
Registered: March 2018
Junior Member
Good day!

I have to merge several cells in row in crosstab.
Crosstab in birt designer:
index.php/fa/32242/0/

I'm trying to use script at data onRender event :

if (parseInt(dimension["GroupName"]["SPLIT_NAME"]["SPLIT_ID"]) == -2
&&
dimension["CaptionGroup"]["CAPT3"]["CAPT_ORDER"].toString().substr(2,2) == "02")
{
this.getStyle().textAlign = "left";
if (data["CAPT1"] == "quantity")
{
this.getParent().setColSpan(10);
this.setDisplayValue("1. +/- 5 subgroup diff:\n2. +/- 6 subgroup diff:\n3. +/- 7 subgroup diff:");
}
}

! but it doesn't work! ColSpan attribute changes but it has no effect at result table:

index.php/fa/32241/0/


Is there any workaround to make colSpan work? Or any other way to merge measure cell at runtime (during report execution)?

Thanks in advance.



  • Attachment: image.jpeg
    (Size: 190.67KB, Downloaded 146 times)
  • Attachment: image.jpeg
    (Size: 45.11KB, Downloaded 137 times)

[Updated on: Fri, 16 March 2018 07:21]

Report message to a moderator

Re: How to merge measure (summary field) cells in crosstab in one row [message #1783710 is a reply to message #1783085] Fri, 16 March 2018 07:23 Go to previous message
Denis Shevchenko is currently offline Denis ShevchenkoFriend
Messages: 2
Registered: March 2018
Junior Member
Is there somebody who knows this how-to?
Previous Topic:Set __parameterpage in script
Next Topic:Alternate color rows in cross tab.
Goto Forum:
  


Current Time: Thu Sep 20 13:00:25 GMT 2018

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

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

Back to the top