DHTMLX Docs & Samples Explorer

enableCSVAutoID(mode)

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

enable mode, where ID for rows loaded from CSV autogenerated

  • mode - true/false
   //enable autogenerated rows IDs for the CSV loading
   mygrid.enableCSVAutoID(true);
   //disable autogenerated rows IDs for the CSV loading
   mygrid.enableCSVAutoID(false);

See also: enableCSVHeader, serializeToCSV, loadCSVFile, loadCSVString