如果jasper报告中的数据溢出,则拉伸一行 [英] Stretch a row if data overflows in jasper reports

查看:249
本文介绍了如果jasper报告中的数据溢出,则拉伸一行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果在jasper报告中数据溢出带高度时如何拉伸一行,我已将溢出标志设置为true,但它不起作用。

how do i stretch a row when data overflows the band height in jasper reports, I have set the stretch with overflow flag as true but it doesn't work.

推荐答案

我自己遇到了这个问题。即使乐队中的文本字段配置为这样,我也无法将细节带拉伸。问题在于报告的打印订单属性,由于某种原因,该属性已设置为水平。当我将其更改为垂直时,问题就消失了。

I ran into this problem myself. I could not get the detail band to stretch, even though the text field in the band was configured to do so. The problem was with the report's Print Order property, which for some reason had been set to horizontal. When I changed it to vertical, the problem went away.

根据JasperReports终极指南,

According to the JasperReports Ultimate Guide,


水平填写报表模板时,
内的动态文本字段详细信息部分不再延伸到其整个文本内容
,因为这可能会导致
后续详细信息部分的水平轴上出现错位。

When filling report templates horizontally, dynamic text fields inside the detail section no longer stretch to their entire text content, because this might cause misalignment on the horizontal axis of subsequent detail sections.

这篇关于如果jasper报告中的数据溢出,则拉伸一行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆