Tuesday, July 15, 2008

Solution/ Workaround for Detail Band Not allowing Vertical Overflow

After a couple of hours of experimentation I discovered the easiest way to achieve detail band vertical overflow.

Technically speaking the detail band overflow is not achievable. But By Creating a Dummy Group and making the group repeat for all the records and placing it below all other groups you can get the desired result. Here’s the steps you need to take.

  1. Create a Dummy Group
  2. Place it after all other groups
  3. Put a unique key as the “Group Expression” (This way for each record will create a new group)
  4. Put your display fields in the group header and remove the details section

Sunday, July 13, 2008

Deatails Section Not allowing Vertical Overflow

Recently I noticed something very interesting about iReport 2.0.0

The “details” section does not allow vertical overflowing. Vertical overflowing is that adding extra lines below if ur field has more characters. But for some reason iReport does not allow it.

If you want to print two lines in ur Details section u have to leave enough space for those lines to be printed.

This is a major braw back in iReport as you would ultimately waste space for records that does not overflow. Hope iReport gives us this functionality in the near future.