Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Debamita on Dec 07, 2008 23:43
open dhtmlx forum
Export data to excel sheet

Hi,

Can you let me know the pre-requisities to export data.

I have written the code
function exportExcel(){
var file = mygrid.serializeToCSV(true);
}

The function is called on ckick of a button "Export".

But i dont able to get it working.

Thanks
Answer posted by Support on Dec 08, 2008 01:40
To enable csv export related functionality you need to include 
    codebase/ext/dhtmlxgrid_nxml.js 
file in additiona to common ones ( file exists in both standard and pro editions )

http://dhtmlx.com/docs/products/dhtmlxGrid/samples/initialization_loading/pro_load_csv.html?un=1228686103000