Download Free Trial

How to set delimited string from dataSource

It is possible to pass a delimited string as a dataSource??
var delimited = “COD;NAME;AGE\n”;
     delimited += “1;JOHN;30\n”;
     delimited += “2;Mary;23\n”;
var pivot = $(“#pivotContainer”).flexmonster({
     componentFolder: “/Content/js/flexmonster/”,
     toolbar: true,
     report: {
     dataSource: {
    data: delimited

2 answers

Dmytro Zvazhii Flexmonster February 17, 2017

Hello Cleyton,
Thank you for the detailed explanation. Such approach is not available for the CSV strings now. We added your request to the customers wishlist. Right now, you can use such approach for the JSON objects ( If you need to load CSV data you can do it with a file or with file url (
Please let us know if it works for you.
Best regards,

Cleyton Barroso February 17, 2017

Thank you for help

Please login or Register to Submit Answer