Skip to main content



      Home
Home » Archived » BIRT » Hide rows description in crosstab(Minimize gap between two aligned crosstabs)
Hide rows description in crosstab [message #1007291] Tue, 05 February 2013 06:52 Go to next message
Eclipse UserFriend
Hi,
I do have to display two crosstabs side-by-side. I can do this by tweaking some formatting, however I'm not able to decrease gap between crosstabs. I've set padding/borders everywhere to 0, set font size to 1 pixel, but still the gap is too big. I'm attaching picture of what I have so far.

Is there any way how I can further decrease the gap?
Re: Hide rows description in crosstab [message #1007332 is a reply to message #1007291] Tue, 05 February 2013 09:49 Go to previous messageGo to next message
Eclipse UserFriend
You could try figuring out what the row header and row dimension cell Id's are, and putting this script into your crosstab's onRender script:

function onRenderCell( cellInst, reportContext )
{
if(cellInst.getCellID() == 38 || cellInst.getCellID() == 42){ //replace these two Id's with your values
cellInst.getStyle().setDisplay("none");
}
}

This got them close for me. I then went to the right crosstab and set its left margin to -4. That seemed to do it.

Hope this helps.
Re: Hide rows description in crosstab [message #1007338 is a reply to message #1007332] Tue, 05 February 2013 10:09 Go to previous messageGo to next message
Eclipse UserFriend
Michael, thank you for your response. By Cell ID you mean "Element ID" or something else?
Regards,
Tomas

[Updated on: Tue, 05 February 2013 10:09] by Moderator

Re: Hide rows description in crosstab [message #1007365 is a reply to message #1007338] Tue, 05 February 2013 11:05 Go to previous messageGo to next message
Eclipse UserFriend
Yeah. That'll be the same thing as cellID. Sorry. Let me know.
Re: Hide rows description in crosstab [message #1007525 is a reply to message #1007365] Wed, 06 February 2013 05:28 Go to previous messageGo to next message
Eclipse UserFriend
OK, I've found I can set "No Display" directly in BIRT Report Designer. Using this and negative margin I've managed to do what I want.
Thank you for your help.
Regards,
Tomas
Re: Hide rows description in crosstab [message #1007622 is a reply to message #1007525] Wed, 06 February 2013 13:53 Go to previous message
Eclipse UserFriend
No problem.
Previous Topic:Disable fully Birt logging
Next Topic:BIRT Bubble Chart not exporting to pdf
Goto Forum:
  


Current Time: Mon Mar 24 23:49:01 EDT 2025

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

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

Back to the top