Categories | Question details Back To List | ||
dhtmlxGrid: Loading From CSV I'm trying to load data from a CSV file generated in a php script as follows: 0,12345,,0001,Generic MP3 Player,139.00\n1,12346,,0002,Sonheim Earphones,99.99\n2,12347,,0003,50 Pack DVD Blanks,27.95\n3,12348,,0004,25 Pack CD RW Blanks,12.99\n When I use "prodgrid.load("php/prods.csv","csv");" I get no error but I only have one row in the grid (the first product). Oddly enough, the final cell contains the properly formatted (price) number plus "\n". I'm totally lost on this one! Answer posted by dhxSupport on Mar 30, 2009 03:57 Please check if in you php file you define new line like "\n" (double quotes). Result csv file shouldn't contain "\n" symbols. |