Export the Grid to Excel???


I used th free version of dhtmlxGrid and wanted to export the grid to Excel from client and I used the following function to perform and it worked well:

The problem is I really want to use it as a built-in function so that I don’t need to clarify Header, Number of rows, Number of Cols. etc.

Anyone can help?


-Chien Hoang

Email: chienhoang@yahoo.com

Because solution are IE-centric we do not plan to implement such
functionality as part of dhtmlxGrid, but you can fill Excel.Application
from csv string

The dhtmlxGrid_nxml.js extension included in latest standard package has next method for grid serialization ( with optional headers ) as CSV string

    var csv=grid.serializeToCSV();

Thank you very much.