1 Reply Latest reply on Nov 11, 2009 8:11 PM by Mr.Ankur.Jain

    Export DataGrid to Excel, ByteArray to file

    BiNaBbAs
      Hi,,

      Im developing an grid control with a PIE chart where the SWF object will be empeded in a SAP BSP page,,

      what i need to do is to export the Advanced DataGrid data to an excel and PDF formats,,

      i found a library that will convert my ArrayCollection Object to XLS format and return a ByteArray in Object ,,
      from here [L= [L=http://code.google.com/p/as3xls]]http://code.google.com/p/as3xls][/L] [L=http://code.google.com/p/as3xls[/L]]http://code.google.com/p/as3xls[/L][/L]

      Now i need to write the bytearray to a file ,, with ext. XLS ,,

      i tried to do the save part with JAVASCRIPT but i did not find any lead to do so ,,,

      also if anyone has an idea for the PDF file ??

      PLEASE HELP

      and thanks in advance !!