Dear visitor, despite all the challenges, our team continues operating at full speed.

We are ready to help with any questions you may have. Please fill out this quick form and we'll get back to you.

Fill the form
Get Free Trial

CSV fixed

Answered
Valerio Precht asked on June 16, 2020

 

Good afternoon. 
How to proceed with Flexmonster opening a fixed CSV file.
User should not change. In the example below does not open the page.
----------------------------------
var pivot = new Flexmonster({
container: "#pivot-container",
componentFolder: "c:\temp\totvs\",
toolbar: true,
beforetoolbarcreated: customizeToolbar,
report: {
dataSource: {
type: "csv",
filename: "C:\temp\totvs\totvs.csv",
},
------------------------------------
Thank you
Valerio Precht

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 22, 2020

Hello, Valerio Precht,
 
Thank you for your question.
 
Our team would like to kindly explain that the relative path should be specified in order to access the locally saved file. The defined component folder will be considered as a root folder for such a relative path.
 
Please see the following code snippet for the reference:

var pivot = new Flexmonster({
container: "#pivot-container",
componentFolder: "c:/temp/totvs/",
toolbar: true,
beforetoolbarcreated: customizeToolbar,
report: {
dataSource: {
type: "csv",
filename: "totvs.csv",
}
}
});

 
Our team hopes it works for your case.
 
Regards,
Illia

Please login or Register to Submit Answer