iReport设计报表,当Detail的行高需要自适应时,应按如下设置:

1. 所有TextField的 Position Type = Fix Relative to Top (或Fix Relative to Bottom)

2. 所有TextField的 Stretch Type = Relative to Band Height(或 Relative to Tallest Object)

3. 需要自适应增高的TextField的 Stretch With Overflow = True

4. Detail Band 的 Split Type = Stretch

5. 报表的Print Order = Vertical (这点很重要,如果设为Horizontal,Detail Band 不能自动增高)

相关文章:

  • 2021-04-03
  • 2022-12-23
  • 2021-12-12
  • 2021-12-21
  • 2021-10-01
  • 2021-04-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-07-19
相关资源
相似解决方案