|
|
|
Re: Printing BIRT report out it to CSV [message #74866 is a reply to message #73960] |
Fri, 16 September 2005 09:34  |
Eclipse User |
|
|
|
If you need a quick workaround you could open a file in the report's
initialize() method and close it in the report's afterFactory() method.
Then on the Table's onRow() method - write a csv line to the file using
row["column-name1"] + "," + row["column-name2"] + "," +
row["column-name3"]...
you could do this in the main report - but it would always create a csv
file - or you could write another "csv driver" report that does this when
the user clicks on a "Download to CSV" link in the main report - which
runs the csv driver report and then points the browser at the resulting
csv file
|
|
|
Powered by
FUDForum. Page generated in 0.05998 seconds