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

Add support for xlsx and pdf downloads #16

Open
1 of 2 tasks
crazycapivara opened this issue Feb 4, 2024 · 2 comments
Open
1 of 2 tasks

Add support for xlsx and pdf downloads #16

crazycapivara opened this issue Feb 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@crazycapivara
Copy link
Contributor

crazycapivara commented Feb 4, 2024

See downloads

  • xlsx
  • pdf
@crazycapivara crazycapivara added the enhancement New feature or request label Feb 19, 2024
@j0bekt01
Copy link
Contributor

j0bekt01 commented Sep 3, 2024

you can do xlsx like this:
ui.tags.script(type="text/javascript", src="https://oss.sheetjs.com/sheetjs/xlsx.full.min.js")

async with TabulatorContext("tabulator") as table: table.trigger_download("xlsx", "data.xlsx", {"sheetName":"sheetName"})

@crazycapivara
Copy link
Contributor Author

@j0bekt01 Yes, this is already implemented with use_sheetjs as shown in this example.

Issue is still open because of the pdf support. Maybe I will split the issues.

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

No branches or pull requests

2 participants