Jasper Excel export with Collapse?

Hi All, 

Is it feasible to export an Excel file with the outline Collapse option?

Thanks in Advance,

Balaji

Attachments: 
balaji.sampathu's picture
Joined: Mar 22 2023 - 8:45pm
Last seen: 4 days 16 hours ago

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

arai_4 - 2 months 2 days ago

Thank you for your patience, we have not forgotten you. We need a little more time with our team of experts to come up with a solution. We will respond back with an answer as quickly as we can.

arai_4 - 1 month 3 weeks ago

I am glad to see your reply and it would be great if we have a solution to the request.

balaji.sampathu - 1 month 3 weeks ago

1 Answer:

Hello,


Please find the below-attached wiki article only covers the expand/collapse feature in a report Excel output.

https://community.jaspersoft.com/blog/tip-excel-export-expand-and-collap...

net.sf.jasperreports.export.xls.row.outline.level.1=Body

The ".export.xls." property node indicates the scope of the setting applies to exported xls output format only.

There are no similar settings at the report level since the JasperReports engine (JRL) needs the entire data set to fill the report content before the "expand/collapse" filter can be applied. This operation cannot be carried out at the report creation level but at the export level.

However, JRL does not support the "expand/collapse" feature for other report export formats but the xls (refer to "JasperReports - Configuration Reference (version 6.17.0)" document "Report Export" section)

http://jasperreports.sourceforge.net/config.reference.html    

I hope this will help you!

Swapnil Pawar's picture
Joined: Apr 22 2021 - 5:44am
Last seen: 9 hours 47 min ago
Feedback