Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by kamaraju prathi on May 06, 2008 22:48
open dhtmlx forum
export dhtml xgrid to an excel

could you please help me how to export from xgrid to excel...
Answer posted by Support on May 07, 2008 02:13
There is no cross browser way to export data directly in excell
You can

a) serialize data into CSV, which can be imported into ms-excel
    var data=grid.serializeToCSV();
( please beware that you will need to send data to server and back to client, to allow saving it as file )

b) use MS-IE specific solution
    http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=1400&ssr=yes