DHTMLX Docs & Samples Explorer

loadCSVFile(path,afterCall)

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

load grid from CSV file

  • path - path to file
  • afterCall - function which will be called after xml loading
   //load grid from the external csv file
   mygrid.loadCSVFile("grid.csv");
   //load grid from the external csv file, execute doAfterRefresh() function after grid was loaded
   mygrid.loadCSVFile("grid.csv",doAfterRefresh);

See also: loadCSVString, enableCSVAutoID, enableCSVHeader