Home » excel » java – How to set excel sheet name in BIRT API?

java – How to set excel sheet name in BIRT API?

Posted by: admin May 14, 2020 Leave a comment

Questions:

When I use birt api to export excel, the excel’s sheet name is default set to Sheet0. Is there a way to custom sheet name in birt API?

How to&Answers:

In the “Property Editor – Report” in the tab “General” you can enter a “Title”.

This value will be taken to name the sheet when exporting to excel.

ExcelSheetName

Answer:

I had a report with two table and page break after the first one so each table made their own sheet. after selecting each table go to the script and in the “on create” script, code this:
this.name = “Sheet Name”;
image