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

XLSX.read porgress #2103

Closed
Sangpil-Yoon opened this issue Sep 10, 2020 · 1 comment
Closed

XLSX.read porgress #2103

Sangpil-Yoon opened this issue Sep 10, 2020 · 1 comment

Comments

@Sangpil-Yoon
Copy link

reader.onprogress = (progressEvent) => {
//progress
this.progressRate = parseInt((progressEvent.loaded / progressEvent.total));
const fileData = reader.result;
const wb = XLSX.read (fileData, { type: 'binary' });

wb.SheetNames.forEach((sheetName) => {
const rowObj = XLSX.utilssheet_to_json (wb.Sheets[sheetName]);

this.expelDatapush(JSON.stringify(rowObj);
});
};

Progress is not working properly.
Progress acts after XLSX.read.
If you change the location of the progress, you can still do so.

I need your help.

@reviewher
Copy link
Contributor

dupe of #1459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants