DHTMLX Docs & Samples Explorer

Index
dhtmlxgrid
API Methods

### loadCSVFile(path,afterCall)

Required library edition:
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