DHTMLX Docs & Samples Explorer

loadCSVString(str)

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

load grid from CSV string. This method works in the synchronous mode.

  • str - CSV string
   var  str="11,12,13\n21,22,23\n31,32,33";
   mygrid.loadCSVString(str);

See also: loadCSVFile, enableCSVAutoID, enableCSVHeader