DHTMLX Docs & Samples Explorer

enableCSVHeader(mode)

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

enable recognizing first row in CSV as header

  • mode - true/false
   //enable recognizing first row in CSV as header
   mygrid.enableCSVHeader(true);
   //disable recognizing first row in CSV as header
   mygrid.enableCSVHeader(false);

See also: enableCSVAutoID, loadCSVFile, loadCSVString, serializeToCSV