Jump to content
Changes to the Jaspersoft community edition download ×

How we can equally distribute characters of textfield (with equal space between characters) in JasperSoft Studio 6.10.0?


trupti.kamathankar
Go to solution Solved by trupti.kamathankar,

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution

Hi,

  I tried above solution. But, it doesn't work when we used 'BlankWhenNull' property. That's why I asked a question.

But, now I found the solution. if we want to use 'tabset' variable but don't want to add textfield expression for 'Null' values, then we can use printWhenExpression as, '$F{Title}!=null && !$F{Title}.isEmpty()'. It works, means, if data is coming from dataset then 'tabset' equally distribute the characters and when no data is coming from dataset then above 'printWhenExpression' add blank space when null values are coming.

The reason for not using 'BlankWhenNull' property, because, it hides textfield borders too. But, I want to display textfield with no values (with blank space) if null value is coming from dataset.

Thanks.

Link to comment
Share on other sites

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