I am trying to export report to Excel (XLSX
format) using jasper
report, but get problems with stretching when text field is overflow.
I get just e
you should do the following to get it working:
isStretchWithOverflow="true"
for all TextField elements on Detail
band (it will fix cutting of long text
values)stretchType="RelativeToBandHeight"
for all TextField elements on Detail band (It will fix the issue with empty cells - all TextFields will be rendered with the same height)
on each TextField which may have long value. The point is that property net.sf.jasperreports.export.xls.auto.fit.row works on Element level only.Also please note that this property won't work for merged cells.