Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downloading CSV converts numbers to string #4674

Open
korneliakobiela opened this issue Jan 31, 2025 · 0 comments
Open

Downloading CSV converts numbers to string #4674

korneliakobiela opened this issue Jan 31, 2025 · 0 comments
Labels
Possible Bug A possible bug that needs investigation

Comments

@korneliakobiela
Copy link

Describe the bug
In a CSV file downloaded from Tabulator spreadsheet table all number values are converted to string values.

Tabulator Info

  • Which version of Tabulator are you using? 6.3.1

Working Example
JS FIddle example/

To Reproduce
A step by step guide to recreate the issue in your JS Fiddle or Codepen:

  1. Click on Download CSV button
  2. Open downloaded file (propably test.csv) with text editor
  3. See all the numbers converted to strings

Expected behavior
Downloaded file contains numeric data without double quotes around them.

Screenshots
Content of test.csv text file:

"","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"
"08:00","9937","2123","2321","7749","9816","4355","8279"
"09:00","2380","2345","6977","8896","4012","3803","5408"
"10:00","9180","90","39","9445","3917","1273","18"
"11:00","1924","8734","1819","1838","2330","7921","9219"
"12:00","543","8665","5875","9732","1926","9999","9743"

Desktop:

  • OS: Ubuntu Linux 22.04.1 X86_64
  • Browser: Google Chrome
  • Version: 132.0.6834.159 (Official Build) (64-bit)

Desktop:

  • OS: Ubuntu Linux 22.04.1 X86_64
  • Browser: Mozilla Firefox snap for Ubuntu
  • Version: 134.0.2

Desktop:

  • OS: macOS 15.2 (24C101)
  • Browser: Google Chrome
  • Version: 132.0.6834.111 (Official Build) (x86_64)

Additional context
Add any other context about the problem here.

@korneliakobiela korneliakobiela added the Possible Bug A possible bug that needs investigation label Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Possible Bug A possible bug that needs investigation
Projects
None yet
Development

No branches or pull requests

1 participant