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

how can i export the spreadsheet as xlsx file? #20

Open
Leedorado opened this issue Jan 29, 2019 · 5 comments
Open

how can i export the spreadsheet as xlsx file? #20

Leedorado opened this issue Jan 29, 2019 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@Leedorado
Copy link

No description provided.

@myliang
Copy link
Owner

myliang commented Jan 29, 2019

This requires the support of the background program, what good advice do you have?

@ajbouh
Copy link

ajbouh commented Jan 29, 2019

I think you can create the file in memory and then use a data uri to give the user something they can click. The browser should be able to take care of the rest.

@dodumosu
Copy link

dodumosu commented Feb 1, 2019

see #8

an alternative is exceljs

@qinrr
Copy link

qinrr commented Mar 8, 2019

When can excel be exported

@SheetJSDev
Copy link

SheetJSDev commented Mar 23, 2020

https://docs.sheetjs.com/docs/demos/grid#x-spreadsheet discusses in more detail

Hosted script https://cdn.sheetjs.com/xspreadsheet/xlsxspread.min.js

Script exposes a function xtos. Usage:

// var grid = x_spreadsheet(...);
XLSX.writeFile(xtos(grid.getData()), "SheetJS.xlsx");

@myliang myliang added the help wanted Extra attention is needed label Mar 23, 2020
@myliang myliang pinned this issue Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants