Check documentation for the latest version of dhtmlxSuite serializeToCSV DHTMLX Docs

serializeToCSV

serializes to CSV string

void serializeToCSV(boolean text_only);
text_onlybooleanoptional, force serialization of the text values (skip HTML elements), false by default

Available only in PRO Edition

Example

//serialize grid to CSV format
var csv=mygrid.serializeToCSV();
//serialize grid to CSV format, only the text values will be serialized
var csv=mygrid.serializeToCSV(true);

Back to top