I just started using dhtmlxGrid. I followed the tutorial which loaded an XML file which went fine. Ithen wanted to load a CSV file which is what happens in my case. I followed the online manual and used the command:
mygrid.load(“file.csv”, doAfterRefresh, csv);
as well as:
mygrid.loadCSVFile(“file.csv”, doAfterRefresh);
as well as:
mygrid.loadCSVFile(“file.csv”);
Neither of those load the data into the grid. The csv file is in the same directory as the html file.
Any help would be appreciated.
Thanks.
You should use mygrid.load(“file.csv”, doAfterRefresh, “csv”);
Please find more information here dhtmlx.com/dhxdocs/doku.php?id=d … ta_loading