Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by 1106.anamika@gmail.com on Sep 10, 2009 00:30
open dhtmlx forum
loadCSVFile() , path string not loading URL?

URl parth i am giving with format "D:\26th aug b4 commit update\sms\web\JSP\Student\csvDataFIle359000000.csv"

But it's not loading file. m using window system


Could you please specify the correct path format?


Thanks
Answer posted on Sep 10, 2009 02:18
loadCSVFile() method loads grid from CSV file. This method is available in PRO version only. To use it you have to include dhtmlxgrid_nxml.js file to your page.
Answer posted on Sep 10, 2009 03:23
i had included file. it's working fine when i m loading file on same page & csv file also exist with same folder.

BUt it's not working fine when CSV file & JSP page are in different folders.


so please specify format if i want to load CSV file from following path
"D:\26th aug b4 commit update\sms\web\JSP\Student\csvDataFIle359000000.csv"




 


Answer posted by Support on Sep 10, 2009 04:14
The parameter of loadCSVFile must be a valid http url, not the physical file path. 
( client is working on client side, and can access the data only by http )