Required library edition:
Required library file: dhtmlxgrid_nxml.js
serialize to CSV string
//serialize grid to CSV format var csv=mygrid.serializeToCSV(); //serialize grid to CSV format, only text values will be serialized var csv=mygrid.serializeToCSV(true);
serializeToCSV() method require all rows to be loaded. It incompatible with dynamic Smart Rendering mode.
See also: serialize