How to increase the column width dynamically in iReport using dynamic report?

混江龙づ霸主 提交于 2019-12-29 08:27:31

问题


I have created a jrxml file and by using dynamic reports I am filling up the data for the template.I need to adjust the column width based on the content inside it,I have looked into documentation and blogs everything leads to stretch overflow.But it will only increase the height and wrap the data .

My scenario I need to adjust the width of the column based on the content.Is it possible anyway? Is it possible to do it by using DynamicReports? If so how?


回答1:


In jasper reports, you cannot increase the width of the component dynamically. You can only increase the height dynamically.




回答2:


In dynamicreport also you have set width of column , it not increase on text length,pl check this link,may be helpful to you. DynamicReport



来源:https://stackoverflow.com/questions/31965653/how-to-increase-the-column-width-dynamically-in-ireport-using-dynamic-report

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