Dynamic width for report in ireport 4.0.1

爱⌒轻易说出口 提交于 2019-12-11 02:27:28

问题


I have designed a cross tab report in ireport4.0.1. because of cross tab i dont know the width for the report. Is there any option to set width according to the data it contains?


回答1:


Well my answer may not be the recommended one by jaspersoft guys, but what i would do is calculate the required width at run time.

then put the value in the width option of the report that is in my JRXML which is basically nothing but an XML (using standard file operations).

Then i ll compile it to get jasper and fill the jasper as and when required.

To me this is the only option which is possible as of now. PS: Alex is right u should consider accepting answers when they help you..!!!



来源:https://stackoverflow.com/questions/9804332/dynamic-width-for-report-in-ireport-4-0-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!