Friday, 5 May 2017

header flag not working in papaParse

function parseCSVString(csvString,headingRowFlag){
    var config ={
        delimiter : ",",
        header : headingRowFlag
    };
    return Parser.parse(csvString,config);
}

I am using PapaParse to parse csv file , but it is not picking the header flag. I tried using both babyparse and papaparse . But nothing worked. Papa parse always take header as true and baby parse always take header as false.



via Harish Saini

No comments:

Post a Comment