Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by swaroop on Nov 25, 2008 01:19
open dhtmlx forum
How can i export the grid data to CSV?

How can i export the grid data to CSV?
i am using below code
var file=mygrid.serializeToCSV() ;
    alert(file);

but it only shows the last row multiple times , i need all rows data to export
Answer posted by Support on Nov 25, 2008 02:08
The command is correct and must return data from all rows in grid.
Please be sure that each row has unique ID , the problem may be caused by missed|non-unique row IDs.