I have tried flex data grid export xls using as3xls library .when i open using microsoft office it s opening fine. but if i tried to read from openoffice.org calc , not working properly .May i know why not working , So Any one know idea to export xls from flex for read calc .please let me know . I tried below code for export excel .
var xls:ExcelFile = new ExcelFile();
xls.sheets.addItem(sheet);
var bytes:ByteArray = xls.saveToByteArray();
var fileReference:FileReference = new FileReference();
fileReference.addEventListener(Event.COMPLETE,fileReference_Complete);
fileReference.save(bytes, filename);