Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Column arranged randomly in CSV report(Column arranged randomly in CSV report generated in BIRT)
Column arranged randomly in CSV report [message #1613209] Thu, 12 February 2015 13:44 Go to next message
Nishant Mintri is currently offline Nishant MintriFriend
Messages: 14
Registered: February 2015
Junior Member
Hi ,

I want to generate a CSV file ,using ICSVDataExtractionOption and IDataExtractionTask .
When I try to generate the same , the columns in my csv files appear in Random Order.
(If my Columns are labelled as 1,2 and 3 then my csv file displays it as 2-1-3 or any order other the CORRECT order of 1-2-3)
But if I use ExcelEmitter to generate an excel file , my columns are in the correct order.
Can anyone tell me why would this be happening ?
Sippets of my code are : -

ICSVDataExtractionOption extractionOptions = new CSVDataExtractionOption();
extractionOptions.setOutputFormat("csv");
extractionOptions.setSeparator(",");
extractionOptions.setOutputStream(output);
IDataExtractionTask iDataExtractTask = (IDataExtractionTask)task;
iDataExtractTask.extract((IExtractionOption)options);

We are using WebLogic 10.3.6 as App server for deploying and Java version is 1.6.
Re: Column arranged randomly in CSV report [message #1613548 is a reply to message #1613209] Thu, 12 February 2015 18:49 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

A discussion has been started on this topic over on the BIRT Developer Center, so I'll link the two posts:

http://developer.actuate.com/community/forum/index.php?/topic/36036-creating-csv-from-rptdocument/


Michael

Developer Evangelist, Silanis
Previous Topic:How to Hide a row dimension in Crosstab
Next Topic:Customization of Birt
Goto Forum:
  


Current Time: Thu Jul 25 00:06:07 GMT 2024

Powered by FUDForum. Page generated in 0.03362 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top