Giter Site home page Giter Site logo

sheetjs / sheetjs.github.io Goto Github PK

View Code? Open in Web Editor NEW
263.0 15.0 81.0 26.61 MB

:goberserk: SheetJS Spreadsheet Parser/Writer tests and demos

Home Page: http://oss.sheetjs.com

License: Other

CSS 0.58% JavaScript 23.21% Shell 0.08% HTML 76.12% Makefile 0.01%

sheetjs.github.io's Introduction

sheetjs.github.io's People

Contributors

njj avatar reviewher avatar sheetjsdev avatar tonygermaneri avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sheetjs.github.io's Issues

DateTimes in CSV are changed

I mentioned an issue at SheetJS/sheetjs#1260 (comment), which from what I understand was only partially fixed. When I open the following CSV at http://oss.sheetjs.com, the times are removed from the DateTimes.

Input

"ID","TimeStamp"
1,"9/7/2018 10:52"

Output

| ID | TimeStamp |
|----|-----------|
| 1  | 9/7/2018  |

What is strange is that this only happens for CSV, not for XLSX files. If anything, I would expect the reverse. A CSV file to me is already as flat as data should get.

Admittedly, the main reason I mention this is because I ran into this on my own site. I attempted to work around it by specifying cellDates: true and raw: false, but those didn't work for me. Am I missing something? Is the above desired behavior?

IE8 support

Very cool libraries! Do you plan on adding IE8 support?

Limit the data area

First of all, fantastic library! Good job!

The "issue" is not the case, it's more a suggestion.

  1. The user browse/drops the excel file.
  2. Modal window requests to specify:

2.1 Header row(optional) - e.g. A2:D2
2.2 Data area(required) - e.g A3:D400

  1. Checkbox "Until the first blank row" (in case user has multiple tables on 1 page)

I am working with very big files and reading the entire file if the user requires only first 3(!) rows takes too much time. What I have done is I break the sequence before the cell parsing and return the sheets array so user could select a reading sheet as well. When all data is gathered, here is the tricky part, I start the reading again with limits set, where cell has to match chosen sheet and r:c limits. It's definitely not the best solution, but if you want I could share it by the time I am done. I still have to run some testing.

P.S. For some reasons I could never achieve "d" as a cell type. So trying to fix that by creating my own cell pattern to match.

P.S.S Very good job! Exquisite!

P.S.S.S English is not my native language

Export to XLSX

Very nice utility! Is there a way to export the file as XLSX?

Performance issue in converting excel to json

var data = new Uint8Array(arraybuffer);
  var arr = new Array();
  for(var i = 0; i != data.length; ++i) arr[i] = String.fromCharCode(data[i]);
  var bstr = arr.join("");

  /* Call XLSX */
  var workbook = XLSX.read(bstr, {type:"binary"});

I am working converting an excel sheet to json. this excel sheet contains 2000 rows and 6 columns I am using fileReader on ie11 and I followed the demo in the documentation and it is working fine for 100 columns but it gets stuck for this excel. Can we optimize it any how

DIF files

Excel and other spreadsheet apps support the Data Interchange File format (I think it dates back to VisiCalc )

How to format Date

Date.xlsx

Here i am attaching excel file which contains two date columns.
When i read this file i am passing dateNF format. But sheetjs is not converting to required format.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.