Jump to content
JasperReports Library 7.0 is now available ×

isRemoveLineWhenBlank


Recommended Posts

By: Youan Zeng - yzeng2002

isRemoveLineWhenBlank

2002-09-23 14:58

Hi,

I am using 0.4.0 version and trying to get my detail line show one or more items from total 4 descriptions if the description content is not empty :

 

Description 1

Description 2

Description 3

Description 4

 

I was using reportElement attributes positionType and isRemoveLineWhenBlank as following:

 

<reportElement x="0" y="38" width="150" height="12" positionType="Float" isRemoveLineWhenBlank="true" ></reportElement>

 

Somehow, this is not working. Any suggestions?

 

Thanks a lot!

 

 

 

By: Teodor Danciu - teodord

RE: isRemoveLineWhenBlank

2002-10-15 14:17

 

Hi,

 

I have a suggestion:

 

Make sure there is no other element that shares

the same vertical space with the elements you

are trying to make disappear.

 

I suspect you probably have some vertical lines

on the sideways or you have put a rectanlge arrond your text fields.

 

The isRemoveWhenBalnk only works if that

particular element is the only one present on the

given horizontal portion of the band.

 

Also let at least one pixel space between your text

fields. If they touch each other (top to bottom),

it will not work.

 

I hope this helps.

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...