react-csv-importer icon indicating copy to clipboard operation
react-csv-importer copied to clipboard

how to provide raw csv as input for column mapping?

Open gsaandy opened this issue 3 years ago • 2 comments
trafficstars

Is there a way we can skip the file upload and instead provide raw CSV content as a string for column mapping? The requirement is

  • we get the file content from backend
  • do the column mapping
  • download the new content as a new csv file

gsaandy avatar Mar 08 '22 22:03 gsaandy

Hmm, the most flexible thing in this case might be to directly grab the source code components for the mapping step and adapt them to your needs? Because it sounds like the only piece you need is the drag/drop, right?

unframework avatar Mar 22 '22 18:03 unframework

This would be great if this feature existed as well, especially with external csv files

saibotlive avatar Feb 22 '23 19:02 saibotlive