DHTMLX Docs & Samples Explorer

serializeToCSV(textmode)

Required library edition: This method requires Professional Edition of the DHTMLX library
Required library file: dhtmlxgrid_nxml.js

serialize to CSV string

  • text only - {true|false} optional, force serialization of text values (skip HTML elements), false by default
   //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);

See also: serialize