I am having one data grid it having 9 columns and 10 rows, now i want to export this data into to excel,how to creat new excel and export this data into a excel
to that excel,
i didnt that i saved all values in byte,i dont know how to save the bytes in flex4.
then also when i open the excel all values spread in to the excel how to make perfect.i have some problem in that please help,
this is my code:
var sheet:Sheet=new Sheet();
var ReportdetailsDTOlength : uint=model.CommRecordsList.length;
|sheet.setCell(r+9,8,"date of birth");|
var xls:ExcelFile=new ExcelFile();
var fr1:FileReference=new FileReference();
i got excel but i didnt get the details are not clear,
name, age, address,city,telephone,fax,mail id and date of birth are datafield of data grid.
How to do that please help me.
Please give any useful suggession or snippet sample.
Thanks in advance,