Skip to content

CSV Export results in semi-colon delimited file #24

Open

Description

@b2point0h

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>
  )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions