Jump to content

ireport printWhenExpression in list data (subdata)


rlxodus1

Recommended Posts

Hi.

First, I am Korean. So I don't kow english well. I hope you understand.

 

I want to remove or hide StaticText(Text Field)..

I know, It can through "PrintWhenExpression". But I know only 'Main'Parameters, 'Main'Fileds and subreport.

I want to remove or hide throught subdata(data in list).

 

Finally(Eventually), I want to hide through field's data in list(empty)

Meanwhile, field names in List are $F{title}, $F{content}, etc.

I try it "<printWhenExpression><![CDATA[$F{title} != null && $F{title}.trim().length>0]]></printWhenExpression>" And Report Problems Window message "Field not found : title"

 

If you know "printWhenExpression" through field's data in list, please tell me....!

Link to comment
Share on other sites

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...