How to increase the column width dynamically in iR

2019-02-20 21:12发布

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?

2条回答
霸刀☆藐视天下
2楼-- · 2019-02-20 21:41

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

查看更多
迷人小祖宗
3楼-- · 2019-02-20 21:50

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

查看更多
登录 后发表回答