Jump to content

Frame - horizontal layout + Remove line when blank - How to hide blank columns - Resize columns automatically

Recommended Posts


I have case where I try to do hide text field from frame, when it's empty. Exmplate:

I have put frame into report -> set Layouts to horizontal Layout. Added three text fields to frame -> Selected "Remove line when empty" for all three text fields and set position type to Float.

I leave col 2 field in  empty

"Col 1""Col 2""Col 3"


What I try to achieve, is to have middle, empty field to disappear and two other to fill it's placce, like this:

"Col 1""Col 3"


This works just as expected, when using vertical layout, but I cannot get same kind of behavior with horizontal layout.

Is there way to get that done???

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You can use a table element with print when condition on the column to hide it; and the rest of the columns to its right will get auto moved to the left to place its void.


The print when condition however needs to be determined before the table elements are being laid out. In addition, the width of the report field is fixed at the design time therefore you cannot expand the field width dynamically at the run time. (The stretch can only be applied to the report field height, not the width when its content is overflown).   

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