Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » White space where rows are empty(Inner table is sparse, outer table displays white space for empty rows)
White space where rows are empty [message #892241] Wed, 27 June 2012 13:26 Go to next message
Colin Sutton is currently offline Colin SuttonFriend
Messages: 121
Registered: July 2009
Senior Member
I have a problem with spacing inserted into my report that I can't see how to remove.
My report is a complex one, with data in a table that is derived from another outer table via database queries: I have produced a simple example using the sample database.
The outer table has more rows than the inner table: the inner table is filtering to only display data for some of the values in the outer table.
No data from the outer table is displayed, but somehow a small amount of space is inserted for each row in the outer table, between the data from the inner table.

In the example at https://dl.dropbox.com/u/25811739/innertablespacing.rptdesign the outer table background is set to white, the inner table background to green.
If you scroll down the report you will see there is a variable amount of white space, I'm guessing a couple of pixels width for each empty row in the outer table.

In my report, the outer table has a large number of rows, the inner table only a few, with the result that there are pages of blank space between entries.
I've removed all padding, suppressed duplicates, set 'show if blank' to false. What can I do to remove all the white space?

Colin

Re: White space where rows are empty [message #892555 is a reply to message #892241] Thu, 28 June 2012 15:36 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Colin the issue is that the outer table element is writing a row out
even when the internal table does not. Can you try the outer table as a
list instead. See attached.

Jason

On 6/27/2012 9:26 AM, Colin Sutton wrote:
> I have a problem with spacing inserted into my report that I can't see
> how to remove.
> My report is a complex one, with data in a table that is derived from
> another outer table via database queries: I have produced a simple
> example using the sample database.
> The outer table has more rows than the inner table: the inner table is
> filtering to only display data for some of the values in the outer table.
> No data from the outer table is displayed, but somehow a small amount of
> space is inserted for each row in the outer table, between the data from
> the inner table.
>
> In the example at
> https://dl.dropbox.com/u/25811739/innertablespacing.rptdesign the outer
> table background is set to white, the inner table background to green.
> If you scroll down the report you will see there is a variable amount of
> white space, I'm guessing a couple of pixels width for each empty row in
> the outer table.
>
> In my report, the outer table has a large number of rows, the inner
> table only a few, with the result that there are pages of blank space
> between entries.
> I've removed all padding, suppressed duplicates, set 'show if blank' to
> false. What can I do to remove all the white space?
>
> Colin
>
>
Re: White space where rows are empty [message #892649 is a reply to message #892555] Fri, 29 June 2012 00:50 Go to previous messageGo to next message
Colin Sutton is currently offline Colin SuttonFriend
Messages: 121
Registered: July 2009
Senior Member
In my report I am passing a global variable with a beforeopen for the
dataset of an inner table via the on create for each row of the outer table
(an earlier suggestion of yours I have used in several reports). The detail
row of the list has no script methods, so I can't use a list.
Colin

Jason Weathersby <jasonweathersby@xxxxxxxx> wrote:
> Colin the issue is that the outer table element is writing a row out
> even when the internal table does not. Can you try the outer table as a
> list instead. See attached.
>
> Jason
>
> On 6/27/2012 9:26 AM, Colin Sutton wrote:
> I have a problem with spacing inserted into my report that I can't see
> how to remove. My report is a complex one, with data in a table that is
> derived from another outer table via database queries: I have produced a
> simple example using the sample database. The outer table has more rows
> than the inner table: the inner table is filtering to only display data
> for some of the values in the outer table. No data from the outer table
> is displayed, but somehow a small amount of space is inserted for each
> row in the outer table, between the data from the inner table.
>
> In the example at <a
> href="https://dl.dropbox.com/u/25811739/innertablespacing.rptdesign">https://dl.dropbox.com/u/25811739/innertablespacing.rptdesign</a>
> the outer table background is set to white, the inner table background
> to green. If you scroll down the report you will see there is a variable
> amount of white space, I'm guessing a couple of pixels width for each
> empty row in the outer table.
>
> In my report, the outer table has a large number of rows, the inner table
> only a few, with the result that there are pages of blank space between
> entries. I've removed all padding, suppressed duplicates, set 'show if
> blank' to false. What can I do to remove all the white space?
>
> Colin
Re: White space where rows are empty [message #892801 is a reply to message #892649] Fri, 29 June 2012 18:14 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

What kind of data set is the inner one? Does it have data set parameters?

Jason

On 6/28/2012 8:50 PM, Colin wrote:
> In my report I am passing a global variable with a beforeopen for the
> dataset of an inner table via the on create for each row of the outer table
> (an earlier suggestion of yours I have used in several reports). The detail
> row of the list has no script methods, so I can't use a list.
> Colin
>
> Jason Weathersby <jasonweathersby@xxxxxxxx> wrote:
>> Colin the issue is that the outer table element is writing a row out
>> even when the internal table does not. Can you try the outer table as a
>> list instead. See attached.
>>
>> Jason
>>
>> On 6/27/2012 9:26 AM, Colin Sutton wrote:
>> I have a problem with spacing inserted into my report that I can't see
>> how to remove. My report is a complex one, with data in a table that is
>> derived from another outer table via database queries: I have produced a
>> simple example using the sample database. The outer table has more rows
>> than the inner table: the inner table is filtering to only display data
>> for some of the values in the outer table. No data from the outer table
>> is displayed, but somehow a small amount of space is inserted for each
>> row in the outer table, between the data from the inner table.
>>
>> In the example at <a
>> href="https://dl.dropbox.com/u/25811739/innertablespacing.rptdesign">https://dl.dropbox.com/u/25811739/innertablespacing.rptdesign</a>
>> the outer table background is set to white, the inner table background
>> to green. If you scroll down the report you will see there is a variable
>> amount of white space, I'm guessing a couple of pixels width for each
>> empty row in the outer table.
>>
>> In my report, the outer table has a large number of rows, the inner table
>> only a few, with the result that there are pages of blank space between
>> entries. I've removed all padding, suppressed duplicates, set 'show if
>> blank' to false. What can I do to remove all the white space?
>>
>> Colin
Re: White space where rows are empty [message #892881 is a reply to message #892801] Sun, 01 July 2012 07:43 Go to previous messageGo to next message
Colin Sutton is currently offline Colin SuttonFriend
Messages: 121
Registered: July 2009
Senior Member
I found a work-around: I copied the data from the inner table to a scripted data set, then displayed that and set the other tables invisible.
--
Colin
Re: White space where rows are empty [message #893149 is a reply to message #892881] Mon, 02 July 2012 22:14 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Thanks for the update.

Jason

On 7/1/2012 3:43 AM, Colin Sutton wrote:
> I found a work-around: I copied the data from the inner table to a
> scripted data set, then displayed that and set the other tables invisible.
> --
> Colin
Previous Topic:pdf generator's source code
Next Topic:BIRT support for PDF and Excel report Generation
Goto Forum:
  


Current Time: Thu Apr 18 13:40:27 GMT 2024

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

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

Back to the top