File .csv not open directly with Excel
joseRamonLeon opened this issue · comments
José Ramón León Somovilla commented
Hi friends!
I have just arrived with React and i have use your library ;-).
My problem is just when we exported the CSV file. It uses "," between elements and Excel can not open csv file directly/correctly (Windows). It works when use Import from CSV file.
Is there a way to change the commas (",") to semicolons (";) when exporting?
A lot of thanks!! Best regards from Spain,
Shad Ahmad commented
You can specify the saparator like so:
<CSVLink data={array} separator={";"}>
Download me
</CSVLink>