react-data-table-component-extensions icon indicating copy to clipboard operation
react-data-table-component-extensions copied to clipboard

CSV Export results in semi-colon delimited file

Open b2point0h opened this issue 3 years ago • 0 comments

When exporting to CSV, the file that is produced is in the incorrect format. It exports as semi-colon delimited.

Screen Shot 2021-10-08 at 13 42 25

"react-data-table-component-extensions": "^1.5.2"

return (
    <DataTableExtensions
      filter={false}
      print={false}
      exportHeaders={true}
      {...tableData}
    >
    <div className="mt-2">
    <DataTable
      columns={columns}
      data={cases.caseList}
      progressPending={pageLoading || state.casesLoading}
      progressComponent={<div className="d-flex justify-content-center p-5"><CircularProgress /></div>}
      pagination
      paginationServer
      paginationDefaultPage={cases.pageNumber}
      paginationTotalRows={cases.totalCases}
      paginationPerPage={cases.casesPerPage}
      paginationRowsPerPageOptions={[5,10,15,20,30]}
      onChangeRowsPerPage={handlePerRowsChange}
      onChangePage={fetchCases}
      persistTableHead
    />
    </div>
    </DataTableExtensions>
  )

b2point0h avatar Oct 08 '21 20:10 b2point0h