Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by tep on Mar 17, 2008 18:46
open dhtmlx forum
export grid to excel

Hi,

i would like to ask if you have any idea on how to export my grid to microsoft excel.

a button will be available in my page and when it is triggered, the grid will be converted to an excel file and be downloaded by the user..something like that

thanks in advance..
Answer posted by Support on Mar 18, 2008 05:02
The universal solution is
    - serialize grid to CSV ( build-in functionality )
    - send data to server
    - return data from server as CSV file with correct MSExcel headers

If you need solution only for IE you can check
    http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&q=1400&ssr=yes&s=excel