How to use csv data format when importing



  • Hi there, I am just learning how to use jsreport for the first time, and is trying it out in the playground. I realize most of the example only uses data in Json format, which is understandable since it is a JS framework.

    My question is, is it possible to have Jsreport import and use a csv file and render a table? Or do I have to use some extension to convert my CSV file into a json file first?



  • The input data needs to be in the json.
    You can either convert it to JSON in your app or send it as a string and convert to JSON in the jsreport custom script


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.