Hi,
I was passing ocsv file path to grid:
flexmonster.connectTo({ filename: "Data/test_table_1302383060.ocsv", dataSourceType: "ocsv" });
but it's showing error like below:
Unable to open file flexmonster/Data/test_table_1302383060.ocsv?403140321.
It seems that this file doesn't exist or 'Access-Control-Allow-Origin' header is absent in the resource requested.
but, the same file if make browseForFile=true..working fine in this case:
flexmonster.connectTo({ dataSourceType: "ocsv", browseForFile: true });
Did I miss anything when passing it as relative path? Can you please help me on this case?
Thanks & Regards,
Sunilkumar.V
Hi Sunilkumar,
Thank you for posting your questions here.
Message "It seems that this file doesn’t exist or ‘Access-Control-Allow-Origin’ header is absent in the resource requested." is shown in one of the following situations:
http://localhost
.Please let me know if the above information was helpful.
Kind regards,
Iryna
Hi Iryna,
Thanks for your response. Yes, I checked it. 2nd one is true. In console it's showing XMLHttpRequest error.
I will place the demo on the server and will try to access.
Thanks & Regards,
Sunilkumar.V