Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Hiding empty rows in a cross tab
Hiding empty rows in a cross tab [message #518550] Thu, 04 March 2010 13:08 Go to next message
Damian Sirbu is currently offline Damian SirbuFriend
Messages: 5
Registered: February 2010
Junior Member
Greetings everyone.

I am looking for a solution to hide empty rows in a crosstab, using java event handlers. (the 'row' may contain elements from several groups and a summary field)

My problem is that I did not found any suitable event handler to extend, or a 'crosstab' javscript object in the documentation.

Any hint or advice would be appreciated.

Thank you
Re: Hiding empty rows in a cross tab [message #518652 is a reply to message #518550] Thu, 04 March 2010 16:58 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Damian,

There is a property for hiding empty rows. Select the crosstab, then
the property editor, then Empty Rows/Columns.

Jason

Damian Sirbu wrote:
> Greetings everyone.
>
> I am looking for a solution to hide empty rows in a crosstab, using java
> event handlers. (the 'row' may contain elements from several groups and
> a summary field)
>
> My problem is that I did not found any suitable event handler to extend,
> or a 'crosstab' javscript object in the documentation.
> Any hint or advice would be appreciated.
>
> Thank you
Re: Hiding empty rows in a cross tab [message #518656 is a reply to message #518652] Thu, 04 March 2010 12:16 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

For script take a look at this blog post.
http://birtworld.blogspot.com/2010/02/birt-crosstab-scriptin g.html


Jason

Jason Weathersby wrote:
> Damian,
>
> There is a property for hiding empty rows. Select the crosstab, then
> the property editor, then Empty Rows/Columns.
>
> Jason
>
> Damian Sirbu wrote:
>> Greetings everyone.
>>
>> I am looking for a solution to hide empty rows in a crosstab, using
>> java event handlers. (the 'row' may contain elements from several
>> groups and a summary field)
>>
>> My problem is that I did not found any suitable event handler to
>> extend, or a 'crosstab' javscript object in the documentation.
>> Any hint or advice would be appreciated.
>>
>> Thank you
Re: Hiding empty rows in a cross tab [message #519312 is a reply to message #518550] Mon, 08 March 2010 13:38 Go to previous messageGo to next message
Damian Sirbu is currently offline Damian SirbuFriend
Messages: 5
Registered: February 2010
Junior Member
Thanks, I will give it a try.

Another question: is there any way that, while using BIRT report viewer from eclipse, I could print some output to the eclipse console?

If I call System.out from any part of the report, nothing happens.

Re: Hiding empty rows in a cross tab [message #519372 is a reply to message #519312] Mon, 08 March 2010 11:26 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Damian,

Take a look at this post:
http://birtworld.blogspot.com/2010/01/quick-and-dirty-loggin g.html

Jason

Damian Sirbu wrote:
> Thanks, I will give it a try.
>
> Another question: is there any way that, while using BIRT report viewer
> from eclipse, I could print some output to the eclipse console?
>
> If I call System.out from any part of the report, nothing happens.
>
>
Re: Hiding empty rows in a cross tab [message #519556 is a reply to message #518550] Tue, 09 March 2010 10:15 Go to previous message
Damian Sirbu is currently offline Damian SirbuFriend
Messages: 5
Registered: February 2010
Junior Member
Thanks, this is one method I used - 'dirty' to say at least Smile
I am using swing JFrame to output text atm, but I am still not pleased.

I wonder why System.out does not write to eclipse's embedded console. I think it's locked by BIRT's own logging framework.
If so, maybe we could hook into it..
Previous Topic:Problems with images from shared resources in PDF output
Next Topic:DataSet column as flat String
Goto Forum:
  


Current Time: Fri Apr 19 13:20:42 GMT 2024

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

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

Back to the top