rap2hpoutre / fast-excel

🦉 Fast Excel import/export for Laravel
MIT License
2.09k stars 245 forks source link

export with \t instead of "," #233

Open sameer1750 opened 3 years ago

sameer1750 commented 3 years ago

Hello, Is it possible to export csv with \t instead of "," as field seperator. I tried configure csv but it throws error like "character"

rap2hpoutre commented 2 years ago

Hi @sameer1750 thank you for your contribution. Could you share the full error message?

adonaidiofanes commented 1 year ago

Try this solution: return (new FastExcel($rows))->configureCsv("\t", "'")->download('file.csv');