how can i export data to different file formats like excel,c

Hi,

can u please tell me how can i export data to different file formats from grid.



You can export data from grid by serialization

grid can be serialized to xml
var xml = grid.serialize();
or to csv
var csv = grid.serializeToCSV(); //dhtmlxgrid_nxml.js required

result of serialization is a string, if you need to send it as file - you need to send it server first and return with valid headers ( CSV file with valid headers will be opened in excel automatically )

Also, you can check
dhtmlx.com/docs/products/kb/inde … csv%20file