We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Can we have sample for converting xlsx to json then post to Api per row/or bulk? Thanks
The text was updated successfully, but these errors were encountered:
You have to listen to the parsed event:
<xlsx-read :file="file" @parsed="parsed">
And then you can iterate over the parsed data:
methods: { onChange(event) { this.file = event.target.files ? event.target.files[0] : null; }, parsed(event) { let sheet = event.SheetNames[0]; let row = 4; while (true) { let cell = event.Sheets[sheet]['C' + row]; if (!cell || !cell.v) break; console.log(cell.v); row++; } } }
Sorry, something went wrong.
No branches or pull requests
Hi,
Can we have sample for converting xlsx to json then post to Api per row/or bulk?
Thanks
The text was updated successfully, but these errors were encountered: